Histogram for dicom slice

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Histogram for dicom slice

emredeniz
Hi all,
I need to show the histogram of a dicom slice.
I can show the histogram with vtkImageAccumulate but the problem is that when ı read the dicom slices wii-th vkdicomreader, ımageaccumulate show the histogram for all slices, ı would like to show the histogram slice by slice. How to do this? any ideas?
thanks
Reply | Threaded
Open this post in threaded view
|

Re: Histogram for dicom slice

longbowzhang
Hi,

The first thing come to my mind is vtkExtractVOI.
If you can extract the slice(s) your are interested, then just build the histogram.