[Insight-users] differences in displaying the same image with Qt and itk-snap

Luis Ibanez luis.ibanez at kitware.com
Sun May 29 14:31:25 EDT 2011


Hi John,

The visualization code used by SNAP can be found in
the directory:

    ITKApps/SNAP/UserInterface/SliceWindow/

In particular, you should look at the files:

                    OpenGLSliceTexture.*
                    SNAPSliceWindow.*


To explain the differences between SNAP and your Qt
code, we are going to need to take a look at your code..   :-)

Could you please share it in the list ?


    Thanks


         Luis


------------------------------------------------------------------------------
On Sun, May 29, 2011 at 2:19 PM, john smith <mkitkinsightuser at gmail.com> wrote:
> Hi to all,
>
> I am using the itk::ExtractImageFilter, in order to take slices from a 3D
> medical image. I managed to take my 2D slice image using this filter with a
> reader and a writer pointer. I also use itk-snap and Qt to display my
> project's result. But, I have noticed that my slice when I open it with
> itk-snap is different than that I open with Qt. The differences are two: a)
> the top and down of image is reversed between the two applications and b)
> the image of Qt looks brighter thsn this of itk-snap. Could somebody explain
> the reason or this?
>
> 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