I have array of TIFF images. I have stacked them to make a volume. How can I plot the histogram of the volume in MATLAB? The function "imhist" expects its input to be two-dimensional.
I have also tried to plot the histogram of individual TIFFs and consolidate, but in vain.
Here is the code I tried to consolidate the histograms:
counter = 0;for i = 1:numel(image_files) [count, x] = imhist(vol(:,:,i)); counter = count + counterend;
Is/are there any other ways I could plot the histogram of a volume in MATLAB?
Best Answer