Unsupported interleaved SamplesPerPixel: 4

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Unsupported interleaved SamplesPerPixel: 4

Samuel Dennis
I have a TIFF image that will open correctly in ImageJ. However I have used hugin to correct the perspective in this image, then cropped it using GIMP, saving it as a TIFF file each time. After these transformations, when I attempt to open the image with ImageJ I get a TiffDecoder error:

"Unsupported interleaved SamplesPerPixel: 4"

I have tried flattening the image in GIMP (to get rid of transparencies), but it still will not open in ImageJ. If I save the image as a .jpg file I can open it with ImageJ, but I need to retain it in a lossless format.

What does this error mean, and how may I transform this image in a lossless fashion so I can open it with ImageJ?

Thankyou,
Samuel Dennis
Reply | Threaded
Open this post in threaded view
|

Re: Unsupported interleaved SamplesPerPixel: 4

Michael Schmid
Hi Samuel,

what about using PNG as a workaround?
Maybe GIMP detects that your image has 16 colors or less, thus it uses 4
bits/pixel.
By the way, ImageJ has an Image>Crop function, you don't need GIMP for
this (though GIMP might be slightly more handy in a few cases for large
images).

Michael
___________________________________________________________________________

On Tue, August 11, 2009 05:06, samden wrote:

> I have a TIFF image that will open correctly in ImageJ. However I have
> used
> hugin to correct the perspective in this image, then cropped it using
> GIMP,
> saving it as a TIFF file each time. After these transformations, when I
> attempt to open the image with ImageJ I get a TiffDecoder error:
>
> "Unsupported interleaved SamplesPerPixel: 4"
>
> I have tried flattening the image in GIMP (to get rid of transparencies),
> but it still will not open in ImageJ. If I save the image as a .jpg file I
> can open it with ImageJ, but I need to retain it in a lossless format.
>
> What does this error mean, and how may I transform this image in a
> lossless
> fashion so I can open it with ImageJ?
>
> Thankyou,
> Samuel Dennis
Reply | Threaded
Open this post in threaded view
|

Re: Unsupported interleaved SamplesPerPixel: 4

ctrueden
In reply to this post by Samuel Dennis
Hi Samuel,

Have you tried reading your TIFFs into ImageJ using the Bio-Formats Importer
plugin?
http://www.loci.wisc.edu/ome/formats.html

-Curtis

On Mon, Aug 10, 2009 at 10:06 PM, samden <[hidden email]> wrote:

> I have a TIFF image that will open correctly in ImageJ. However I have used
> hugin to correct the perspective in this image, then cropped it using GIMP,
> saving it as a TIFF file each time. After these transformations, when I
> attempt to open the image with ImageJ I get a TiffDecoder error:
>
> "Unsupported interleaved SamplesPerPixel: 4"
>
> I have tried flattening the image in GIMP (to get rid of transparencies),
> but it still will not open in ImageJ. If I save the image as a .jpg file I
> can open it with ImageJ, but I need to retain it in a lossless format.
>
> What does this error mean, and how may I transform this image in a lossless
> fashion so I can open it with ImageJ?
>
> Thankyou,
> Samuel Dennis
> --
> View this message in context:
> http://n2.nabble.com/Unsupported-interleaved-SamplesPerPixel%3A-4-tp3421548p3421548.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Unsupported interleaved SamplesPerPixel: 4

Samuel Dennis
Curtis

I had not considered that, and it worked perfectly. Turns out I had four channels in the image instead of three after running it through GIMP.

Thankyou,

Samuel

2009/8/12 Curtis Rueden (via Nabble) <[hidden email]>
Hi Samuel,

Have you tried reading your TIFFs into ImageJ using the Bio-Formats Importer
plugin?
http://www.loci.wisc.edu/ome/formats.html

-Curtis

On Mon, Aug 10, 2009 at 10:06 PM, samden <[hidden email]> wrote:

> I have a TIFF image that will open correctly in ImageJ. However I have used
> hugin to correct the perspective in this image, then cropped it using GIMP,
> saving it as a TIFF file each time. After these transformations, when I
> attempt to open the image with ImageJ I get a TiffDecoder error:
>
> "Unsupported interleaved SamplesPerPixel: 4"
>
> I have tried flattening the image in GIMP (to get rid of transparencies),
> but it still will not open in ImageJ. If I save the image as a .jpg file I
> can open it with ImageJ, but I need to retain it in a lossless format.
>
> What does this error mean, and how may I transform this image in a lossless
> fashion so I can open it with ImageJ?
>
> Thankyou,
> Samuel Dennis
> --
> View this message in context:
> http://n2.nabble.com/Unsupported-interleaved-SamplesPerPixel%3A-4-tp3421548p3421548.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>



View message @ http://n2.nabble.com/Unsupported-interleaved-SamplesPerPixel%3A-4-tp3421548p3426435.html
To unsubscribe from Unsupported interleaved SamplesPerPixel: 4, click here.


Reply | Threaded
Open this post in threaded view
|

Re: Unsupported interleaved SamplesPerPixel: 4

Samuel Dennis
In reply to this post by Michael Schmid
Michael

I used the Bio-Formats importer as suggested by Curtis, which did the job well. However I will remember PNG if I have problems with this in future.

Thankyou for your help,

Samuel

2009/8/12 Michael Schmid-3 (via Nabble) <[hidden email]>
Hi Samuel,

what about using PNG as a workaround?
Maybe GIMP detects that your image has 16 colors or less, thus it uses 4
bits/pixel.
By the way, ImageJ has an Image>Crop function, you don't need GIMP for
this (though GIMP might be slightly more handy in a few cases for large
images).

Michael
___________________________________________________________________________

On Tue, August 11, 2009 05:06, samden wrote:

> I have a TIFF image that will open correctly in ImageJ. However I have
> used
> hugin to correct the perspective in this image, then cropped it using
> GIMP,
> saving it as a TIFF file each time. After these transformations, when I
> attempt to open the image with ImageJ I get a TiffDecoder error:
>
> "Unsupported interleaved SamplesPerPixel: 4"
>
> I have tried flattening the image in GIMP (to get rid of transparencies),
> but it still will not open in ImageJ. If I save the image as a .jpg file I
> can open it with ImageJ, but I need to retain it in a lossless format.
>
> What does this error mean, and how may I transform this image in a
> lossless
> fashion so I can open it with ImageJ?
>
> Thankyou,
> Samuel Dennis



View message @ http://n2.nabble.com/Unsupported-interleaved-SamplesPerPixel%3A-4-tp3421548p3423955.html
To unsubscribe from Unsupported interleaved SamplesPerPixel: 4, click here.