[ome-users] Re: Matlab PixelSlice conversion problem

T. J. Macura tm289 at cam.ac.uk
Fri Aug 19 20:03:20 BST 2005


Hi Anh,

I imported those two images into OME, wrote a matlab script exactly 
like yours and modified HistogramEqualization.ome to call matlabtest().
I ran the chain and got the correct result (output and input Pixel Sets 
are the same).

Please send me your analysis module and chain xml files. I suspect you 
might be using convertToDatatype incorrectly (in such a way that 8 bit 
tiffs work e.g. uint8)

Tom

On Aug 18, 2005, at 3:10 PM, Anh Vu wrote:

> Hi! I noticed that on the 12 bits images I import into OME, when I ran
> them against a matlab module that I wrote,

> the color on the resulting image is not what I expect.
>
> The matlab script is as simple as this
>
> function [output] = matlabtest(input)
> output = input;
>
> I noticed that the images are converted to 16 bits in the input and
> the output, but the results from the output is not the same as the
> input. Is there anyway to fix this? I also tried 8 bits tiff and it
> works fine.
>
> I attached a couple of tiff images that does what I described above.
>
> Thanks!
> Anh
> <43-5 x Ler A-2 Positive 1 - hypocotyl 1.tif><43-5 x Ler A-2 Positive 
> 1 - root 1.tif>




More information about the ome-users mailing list