Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CDMABox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Control System
Libraries
java
CDMABox
Commits
92fa16d9
Commit
92fa16d9
authored
Oct 14, 2019
by
Raphael GIRARDOT
Browse files
Options
Downloads
Patches
Plain Diff
getStackedData renamed to getData
parent
e08ff00a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/fr/soleil/cdma/box/data/ImageStack.java
+1
-1
1 addition, 1 deletion
src/main/java/fr/soleil/cdma/box/data/ImageStack.java
src/main/java/fr/soleil/cdma/box/data/StackedData.java
+4
-4
4 additions, 4 deletions
src/main/java/fr/soleil/cdma/box/data/StackedData.java
with
5 additions
and
5 deletions
src/main/java/fr/soleil/cdma/box/data/ImageStack.java
+
1
−
1
View file @
92fa16d9
...
...
@@ -53,7 +53,7 @@ public class ImageStack extends StackedData {
}
position
[
position
.
length
-
1
]
=
x
;
position
[
position
.
length
-
2
]
=
y
;
image
=
get
Stacked
Data
(
position
,
new
int
[]
{
height
,
width
});
image
=
getData
(
position
,
new
int
[]
{
height
,
width
});
}
return
image
;
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/fr/soleil/cdma/box/data/StackedData.java
+
4
−
4
View file @
92fa16d9
...
...
@@ -97,17 +97,17 @@ public abstract class StackedData extends ReferencedData {
* @return A {@link FlatData}.
*/
protected
FlatData
getDataAt
(
int
...
position
)
{
return
get
Stacked
Data
(
position
,
dataShape
);
return
getData
(
position
,
dataShape
);
}
/**
* Returns
a block of data, accumulated as a stack and represented
as a {@link FlatData}
, at given position
.
* Returns
some data of given shape and at given position,
as a {@link FlatData}.
*
* @param position The position.
* @param shape The s
tacked data shape
.
* @param shape The s
hape of the data to extract
.
* @return A {@link FlatData}.
*/
public
FlatData
get
Stacked
Data
(
int
[]
position
,
int
[]
shape
)
{
public
FlatData
getData
(
int
[]
position
,
int
[]
shape
)
{
FlatData
data
=
null
;
ICDMAReader
cdmaReader
=
getReader
();
if
((
cdmaReader
!=
null
)
&&
(
stackFullShape
!=
null
)
&&
(
stackFullShape
.
length
>
0
)
&&
(
shape
!=
null
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment