[ImageJ-devel] [fiji-devel] ImgLib2: ImageJFunctions.show() works again

Stephan Saalfeld saalfeld at mpi-cbg.de
Wed May 25 21:08:51 CDT 2011


Hi Steffi,

I have checked this today and found it not compiling for missing
Converters and VirtualStack variants.  I have added these classes and
fixed a few over-constrained input parameters.  I have also added
variants of the explicit type show methods that would take a Converter
as input and thus allow to display all input T for which you are willing
to build a Converter :).  That means that ComplexType is already
supported.  You would just make your favorite Converter into
UnsignedByte, UnsignedShortType, ARGBType or FloatType.

Best,
Stephan




On Tue, 2011-05-24 at 09:30 +0200, Stephan Preibisch wrote: 
> Hi everybody,
> 
>  
> 
> I just wanted to mention that 
> 
>  
> 
> ImageJFunctions.show()
> 
>  
> 
> works again for all kind of ImgLib2 imgs and
> randomaccessibleintervals. It should automatically display all
> RealTypes and ARGBType properly. It displays it as a VirtualStack and
> returns the reference to the ImagePlus instance.
> 
>  
> 
> FloatType and DoubleType are displayed as ImageJ FloatProcessor.
> 
> All IntegerTypes are displayed as ImageJ ShortProcessor.
> 
> UnsignedByteType is displayed as ImageJ ByteProcessor.
> 
> ARGBType is displayed as ImageJ ColorProcessor
> 
>  
> 
> There also individual methods to display it as any of those
> Processors:
> 
>  
> 
> ImageJFunctions.showFloat()
> 
> ImageJFunctions.showUnsignedByte()
> 
> ImageJFunctions.showUnsignedShort()
> 
> ImageJFunctions.showRGB()
> 
>  
> 
> I will add support for Complex Types this week…
> 
>  
> 
> Nice greetings,
> 
> Steffi
> 
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Fiji-devel" group.
> To post to this group, send email to fiji-devel at googlegroups.com.
> To unsubscribe from this group, send email to fiji-devel
> +unsubscribe at googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/fiji-devel?hl=en.





More information about the ImageJ-devel mailing list