diff --git a/pom.xml b/pom.xml index bce7f409..13e61a86 100644 --- a/pom.xml +++ b/pom.xml @@ -143,7 +143,7 @@ bsd_2 BigDataViewer developers. - 8.0.0 + 8.0.1-SNAPSHOT 1.0.0-beta-20 diff --git a/src/main/java/bdv/BigDataViewer.java b/src/main/java/bdv/BigDataViewer.java index 84cebd57..d2d60327 100644 --- a/src/main/java/bdv/BigDataViewer.java +++ b/src/main/java/bdv/BigDataViewer.java @@ -57,7 +57,7 @@ import net.imglib2.converter.Converter; import net.imglib2.display.ColorConverter; import net.imglib2.display.RealARGBColorConverter; -import net.imglib2.display.ScaledARGBConverter; +import net.imglib2.display.ScaledBrightnessARGBConverter; import net.imglib2.type.numeric.ARGBType; import net.imglib2.type.numeric.NumericType; import net.imglib2.type.numeric.RealType; @@ -190,10 +190,10 @@ private static String createSetupName( final BasicViewSetup setup ) * */ @SuppressWarnings( "unchecked" ) @@ -207,9 +207,9 @@ public static < T extends NumericType< T > > Converter< T, ARGBType > createConv return ( Converter< T, ARGBType > ) RealARGBColorConverter.create( t, typeMin, typeMax ); } else if ( type instanceof ARGBType ) - return ( Converter< T, ARGBType > ) new ScaledARGBConverter.ARGB( 0, 255 ); + return ( Converter< T, ARGBType > ) new ScaledBrightnessARGBConverter.ARGB( 0, 255 ); else if ( type instanceof VolatileARGBType ) - return ( Converter< T, ARGBType > ) new ScaledARGBConverter.VolatileARGB( 0, 255 ); + return ( Converter< T, ARGBType > ) new ScaledBrightnessARGBConverter.VolatileARGB( 0, 255 ); else throw new IllegalArgumentException( "ImgLoader of type " + type.getClass() + " not supported." ); }