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

Luis Ibanez luis.ibanez at kitware.com
Sun Jun 5 14:55:06 EDT 2011


Hi John,

Can you please email me the two images ?

    Thanks


         Luis

---------------------------
On Sun, Jun 5, 2011 at 2:52 PM, john smith <mkitkinsightuser at gmail.com> wrote:
> 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
>> >
>> >
>
>


More information about the Insight-users mailing list