[Insight-users] changing size in KB in gipl image

john smith mkitkinsightuser at gmail.com
Sun Jun 5 14:52:35 EDT 2011


Well,

I am trying to read a .gipl 3D image. Then by using the
"itkExtractImageFilter.h" and "itkRescaleIntensityImageFilter.h", I extract
a slice of this image and rescale the pixel values between [0,255]. I am
using Qt to create my application and so far I firstly create a .png file of
my slice image and then I display my png image in a Qpixmap.But when I use
the itk-snap to display the same slice, I find difference between the two
slices (itk-snap slice looks darker).I have tried to get my results in a
gipl file with short format but still the problem remained the same. But I
noticed that when I load the original image with itk-snap, in the image
properties I get *size in KB:1072*, and when I load my created slice I get
this property  *size in KB:16. *Do you know what is wrong and how to solve
this problem?

Thanks in advance


2011/6/5 Luis Ibanez <luis.ibanez at kitware.com>

> Hi John,
>
> Are you talking about the size of the image file in KiloBytes ?
>
> Is that what you mean by KB:16 ?
>
>
>    Luis
>
>
> --------------------------------
> On Sun, Jun 5, 2011 at 5:47 AM, john smith <mkitkinsightuser at gmail.com>
> wrote:
> > Hello,
> >
> > In my program I have created a gipl image with size in KB:16. How could I
> > set this size to size in KB:1072?
> >
> > Thanks
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110605/d187a314/attachment.htm>


More information about the Insight-users mailing list