[Insight-users] Making 2 images have same histogram

Luis Ibanez luis.ibanez at kitware.com
Mon Aug 10 16:44:09 EDT 2009


Hi Mike,
Yes, you want to use the filter:

      itkHistogramMatchingImageFilter.h

You will find examples on the use of this filter in:


        Insight/Examples/Registration/
                DeformableRegistration2.cxx
                DeformableRegistration3.cxx
                DeformableRegistration9.cxx
                DeformableRegistration10.cxx
                DeformableRegistration16.cxx
                DeformableRegistration17.cxx


Note that this is different from histogram equalization,
this later one will redistribute the intensity level for a single image.


     Regards,


           Luis


-------------------------------------------------------------
On Mon, Aug 10, 2009 at 4:13 PM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> Is there a class in ITK that I can use where I would set 2 different images
> and the output would be 2 new images where both the histograms would be
> "equivalent"?
>
>  What I am trying to accomplish is the following:  I have a bunch of images
> taken with an optical microscope. The brightness/contrast for each of the
> images are slightly different so I need to adjust all the images so that
> each phase of the material is lit the same way. I am assuming a histogram
> equalization would do that but after looking at the documentation and
> examples and testing program I am not convinced I am really using it
> correctly.
>
> Thanks
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
>
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.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/20090810/8157a153/attachment.htm>


More information about the Insight-users mailing list