Login  Register

Re: complex-valued images in ImageJ2 ?

Posted by Adrian Daerr-2 on Sep 27, 2013; 2:11pm
URL: http://imagej.273.s1.nabble.com/complex-valued-images-in-ImageJ2-tp5004962p5004963.html

> I tried to modify this plugin to create a ComplexDoubleType Img
>object, using the first example of the ImgLib2 doc [..] with a
> ComplexDoubleType in place of the UnsignedByteType and using
>the generic ImgFactory instead of the ArrayImageFactory, namely
>
> Img< ComplexDoubleType > img = new ImgFactory< ComplexDoubleType
>>().create( dims, new ComplexDoubleType() );

Sorry, I meant using the generic ListImgFactory which accepts any Type
(ImgFactory is abstract).

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html