Login  Register

Re: complex-valued images in ImageJ2 ?

Posted by dscho on Sep 27, 2013; 2:30pm
URL: http://imagej.273.s1.nabble.com/complex-valued-images-in-ImageJ2-tp5004962p5004964.html

Hi Adrian,

On Fri, 27 Sep 2013, Adrian Daerr wrote:

> The complete source of my plugin-attempt is at
> https://gitorious.org/phasegradientimage/phasegradientimage/source/233c74c7932e3d8e469e95e47b7e30cdf5bb7be1:PhaseGradientImage.java
>
> (and can also be cloned as
> [hidden email]:phasegradientimage/phasegradientimage.git
> )

That clone address works only if you are the owner. The public clone
address is:

        git://gitorious.org/phasegradientimage/phasegradientimage.git

> If ImageJ cannot yet display ComplexType images,

That is indeed the case!

> but *can* do headless stuff using imglib

I am not quite sure that we handle that case properly in ImageJ2 yet... It
is quite possible that at least some of our operations still rely on being
able to extract a double value from each pixel that definitely contains
all the information (which is not possible with complex-valued images).

> that's fine with me, but I am quite confused that I do not see any
> errors at all, even if I do stuff that is not permissible (such as, if I
> understand the API correctly, calling ArrayImageFactory with a
> ComplexDoubleType (i.e. a non-NativeType) as argument). Where are errors
> logged ?

Errors are logged on the console, usually. We do have a plan to log into a
circular buffer in addition that can be displayed on demand, but so far
more pressing projects took precedence.

Ciao,
Johannes

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