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

Stephan Preibisch preibisch at mpi-cbg.de
Thu May 26 02:01:50 CDT 2011


Hi Stephan,

I am sorry, I forgot to add some classes with git ... my apologies, that was
a bit stupid...

I see what you mean with the converter, that is nice. I will also add some
more methods where the title is not necessary...

Actually, what I meant by supporting ComplexType is that we have converters
for showing the PowerSpectrum, PhaseSpectrum etc...I will add them later
today.

Thanks for looking into that Stephan!!

Ciao ciao,
Steffi

-----Original Message-----
From: fiji-devel at googlegroups.com [mailto:fiji-devel at googlegroups.com] On
Behalf Of Stephan Saalfeld
Sent: Thursday, May 26, 2011 4:09 AM
To: Stephan Preibisch
Cc: fiji-devel at googlegroups.com; 'Imagejdev.org Developers'
Subject: Re: [fiji-devel] ImgLib2: ImageJFunctions.show() works again

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.

-- 
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