Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BigDataViewer_Fiji_Plugin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BioinformaticDataCompression
BigDataViewer_Fiji_Plugin
Commits
a26d4e03
Commit
a26d4e03
authored
9 years ago
by
Tobias Pietzsch
Browse files
Options
Downloads
Patches
Plain Diff
transferSettingsRGB should be used for all non-comosite ImagePlus (not just RGB)
parent
12d85bd0
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
src/main/java/bdv/ij/OpenImagePlusPlugIn.java
+3
-3
3 additions, 3 deletions
src/main/java/bdv/ij/OpenImagePlusPlugIn.java
with
3 additions
and
3 deletions
src/main/java/bdv/ij/OpenImagePlusPlugIn.java
+
3
−
3
View file @
a26d4e03
...
@@ -179,8 +179,8 @@ public class OpenImagePlusPlugIn implements PlugIn
...
@@ -179,8 +179,8 @@ public class OpenImagePlusPlugIn implements PlugIn
final
VisibilityAndGrouping
vg
=
bdv
.
getViewer
().
getVisibilityAndGrouping
();
final
VisibilityAndGrouping
vg
=
bdv
.
getViewer
().
getVisibilityAndGrouping
();
if
(
imp
.
isComposite
()
)
if
(
imp
.
isComposite
()
)
transferChannelSettings
(
(
CompositeImage
)
imp
,
sa
,
vg
);
transferChannelSettings
(
(
CompositeImage
)
imp
,
sa
,
vg
);
else
if
(
imp
.
getType
()
==
ImagePlus
.
COLOR_RGB
)
else
transferSettings
RGB
(
imp
,
sa
);
transfer
Imp
Settings
(
imp
,
sa
);
}
}
protected
void
transferChannelSettings
(
final
CompositeImage
ci
,
final
SetupAssignments
setupAssignments
,
final
VisibilityAndGrouping
visibility
)
protected
void
transferChannelSettings
(
final
CompositeImage
ci
,
final
SetupAssignments
setupAssignments
,
final
VisibilityAndGrouping
visibility
)
...
@@ -208,7 +208,7 @@ public class OpenImagePlusPlugIn implements PlugIn
...
@@ -208,7 +208,7 @@ public class OpenImagePlusPlugIn implements PlugIn
visibility
.
setCurrentSource
(
ci
.
getChannel
()
-
1
);
visibility
.
setCurrentSource
(
ci
.
getChannel
()
-
1
);
}
}
protected
void
transferSettings
RGB
(
final
ImagePlus
imp
,
final
SetupAssignments
setupAssignments
)
protected
void
transfer
Imp
Settings
(
final
ImagePlus
imp
,
final
SetupAssignments
setupAssignments
)
{
{
final
ConverterSetup
setup
=
setupAssignments
.
getConverterSetups
().
get
(
0
);
final
ConverterSetup
setup
=
setupAssignments
.
getConverterSetups
().
get
(
0
);
setup
.
setDisplayRange
(
imp
.
getDisplayRangeMin
(),
imp
.
getDisplayRangeMax
()
);
setup
.
setDisplayRange
(
imp
.
getDisplayRangeMin
(),
imp
.
getDisplayRangeMax
()
);
...
...
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