Commit b57d609a authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

update parent to pom-bigdataviewer 1.0.10. Fix compile errors

parent 72c2dac0
......@@ -5,7 +5,7 @@
<parent>
<groupId>sc.fiji</groupId>
<artifactId>pom-bigdataviewer</artifactId>
<version>1.0.9</version>
<version>1.0.10</version>
</parent>
<artifactId>bigdataviewer_fiji</artifactId>
......
......@@ -21,7 +21,6 @@ import ij.ImagePlus;
import ij.WindowManager;
import ij.plugin.PlugIn;
import ij.process.LUT;
import mpicbg.spim.data.SpimDataException;
import mpicbg.spim.data.generic.sequence.BasicImgLoader;
import mpicbg.spim.data.generic.sequence.BasicViewSetup;
import mpicbg.spim.data.registration.ViewRegistration;
......@@ -173,20 +172,13 @@ public class OpenImagePlusPlugIn implements PlugIn
final SpimDataMinimal spimData = new SpimDataMinimal( basePath, seq, new ViewRegistrations( registrations ) );
WrapBasicImgLoader.wrapImgLoaderIfNecessary( spimData );
try
{
final BigDataViewer bdv = new BigDataViewer( spimData, "BigDataViewer", new ProgressWriterIJ() );
final SetupAssignments sa = bdv.getSetupAssignments();
final VisibilityAndGrouping vg = bdv.getViewer().getVisibilityAndGrouping();
if ( imp.isComposite() )
transferChannelSettings( ( CompositeImage ) imp, sa, vg );
else if ( imp.getType() == ImagePlus.COLOR_RGB )
transferSettingsRGB( imp, sa );
}
catch ( final SpimDataException e )
{
throw new RuntimeException( e );
}
final BigDataViewer bdv = new BigDataViewer( spimData, "BigDataViewer", new ProgressWriterIJ() );
final SetupAssignments sa = bdv.getSetupAssignments();
final VisibilityAndGrouping vg = bdv.getViewer().getVisibilityAndGrouping();
if ( imp.isComposite() )
transferChannelSettings( ( CompositeImage ) imp, sa, vg );
else if ( imp.getType() == ImagePlus.COLOR_RGB )
transferSettingsRGB( imp, sa );
}
protected void transferChannelSettings( final CompositeImage ci, final SetupAssignments setupAssignments, final VisibilityAndGrouping visibility )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment