Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
4f62944a
Commit
4f62944a
authored
14 years ago
by
tpylak
Browse files
Options
Downloads
Patches
Plain Diff
minor: assert
SVN: 17334
parent
0c5182b6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/source/java/ch/systemsx/cisd/openbis/dss/generic/server/images/ImageChannelsUtils.java
+2
-1
2 additions, 1 deletion
...openbis/dss/generic/server/images/ImageChannelsUtils.java
with
2 additions
and
1 deletion
screening/source/java/ch/systemsx/cisd/openbis/dss/generic/server/images/ImageChannelsUtils.java
+
2
−
1
View file @
4f62944a
...
@@ -229,6 +229,7 @@ public class ImageChannelsUtils
...
@@ -229,6 +229,7 @@ public class ImageChannelsUtils
for
(
IContent
imageFile
:
imageFiles
)
for
(
IContent
imageFile
:
imageFiles
)
{
{
BufferedImage
image
=
ImageUtil
.
loadImage
(
imageFile
.
getInputStream
());
BufferedImage
image
=
ImageUtil
.
loadImage
(
imageFile
.
getInputStream
());
assert
image
!=
null
:
"image is null"
;
images
.
add
(
image
);
images
.
add
(
image
);
}
}
return
images
;
return
images
;
...
@@ -260,7 +261,7 @@ public class ImageChannelsUtils
...
@@ -260,7 +261,7 @@ public class ImageChannelsUtils
}
}
/**
/**
* Transforms the given <var>bufferedImage</var> as
* Transforms the given <var>bufferedImage</var> as
*/
*/
public
static
BufferedImage
transformToChannel
(
BufferedImage
bufferedImage
,
public
static
BufferedImage
transformToChannel
(
BufferedImage
bufferedImage
,
ColorComponent
colorComponent
)
ColorComponent
colorComponent
)
...
...
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