Difference between revisions of "Talk:Converting microarray images"

From Organic Design wiki
m
(Proprietary TIFF's :()
Line 2: Line 2:
  
 
Check this: [[wikipedia:png]]. It looks like the PNG format supports 48bit colour spaces, so you could keep the whole 16bits per pixel in the conversion to PNG and not have to discard any data. --[[User:Rob|Rob]] 12:48, 14 Sep 2006 (NZST)
 
Check this: [[wikipedia:png]]. It looks like the PNG format supports 48bit colour spaces, so you could keep the whole 16bits per pixel in the conversion to PNG and not have to discard any data. --[[User:Rob|Rob]] 12:48, 14 Sep 2006 (NZST)
 +
 +
:The problem is that the microarray images are proprietary 16-bit TIFF images of two channels plus a whole lot of auxillary information. If I use imagemagick to examing the filetype it think there are two images and converts them both to two separate PNG's (which is not what I want). I am forced to use the software that does the scanning of these images to convert to a lossy format first before making cut down PNG's. To reduce the loss I want JPG's that are as big in filesize as possible, we start with 110Mb TIFF's and convert to 40Mb JPEG's.
 +
 +
<table class=document-code><tr><td>
 +
$ identify AT45.tif 
 +
AT45.tif[0] TIFF 3760x8112+0+0 PseudoClass 65536c 16-bit 116.4m 1.1u 0:02
 +
AT45.tif[1] TIFF 3760x8112+0+0 PseudoClass 65536c 16-bit 116.4m 0.5u 0:01
 +
</table>
 +
:( --[[User:Sven|Sven]] 14:52, 14 Sep 2006 (NZST)

Revision as of 01:52, 14 September 2006

Hi Sven, was just wondering why you are converting tiff to jpeg? Jpeg is going to introduce a lot of artifacting and I imagine this would have a very bad affect on your results. If your source is TIFF consider using the LZW compression with binary encoding to save space and then translate this directly into PNG with imagemagick. In this way the only loss will be the pixel colour rounding error introduced with the conversion from 16bpp to 8bpp. This is still a lot of error though.

Check this: wikipedia:png. It looks like the PNG format supports 48bit colour spaces, so you could keep the whole 16bits per pixel in the conversion to PNG and not have to discard any data. --Rob 12:48, 14 Sep 2006 (NZST)

The problem is that the microarray images are proprietary 16-bit TIFF images of two channels plus a whole lot of auxillary information. If I use imagemagick to examing the filetype it think there are two images and converts them both to two separate PNG's (which is not what I want). I am forced to use the software that does the scanning of these images to convert to a lossy format first before making cut down PNG's. To reduce the loss I want JPG's that are as big in filesize as possible, we start with 110Mb TIFF's and convert to 40Mb JPEG's.
$ identify AT45.tif  
AT45.tif[0] TIFF 3760x8112+0+0 PseudoClass 65536c 16-bit 116.4m 1.1u 0:02
AT45.tif[1] TIFF 3760x8112+0+0 PseudoClass 65536c 16-bit 116.4m 0.5u 0:01
( --Sven 14:52, 14 Sep 2006 (NZST)