I want to compute the histogram of dicom images and then plot that graph.
It gives me frequency values with number of bins of 256.
How to select number of bins for dicom image?
And how to plot it in graph? And then how to calculate thresholds from histogram, which I can use it later in Connected threshold image filter? Is it correct way to do segmentation?
Please help me.
Thanks in advance.