Re: binarized stack file size?

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/binarized-stack-file-size-tp3699337p3699340.html

Hi,

On Fri, 25 May 2007, Dan Siegal-Gaskins wrote:

> I have an 800+ MB TIFF stack, and when I convert it to binary and save,
> the file size remains 800+ MB.  I would have expected the binary file to
> be considerably smaller than the stack of 8-bit TIFFs.  Is there
> something that I'm doing wrong, or is it my lack of understanding of
> different file types?

You are doing nothing wrong, but it is expected. IIRC gray-scale (8-bit)
images are the smallest images Java can work with.

Therefore, "binarize" means that the pixels can only take on values 0
_or_ 255.

Thus, the image writers do not really take advantage of binarized images.

Hth,
Dscho