Finding Histogram for DICOM images

Is there a way to calculate the histogram of DICOM images? such as the one in OpenCV “cv2.calcHist”

cv2.calcHist might work, if you would like to apply it on a single slice.
Are you seeing any errors using it or are you looking for a specific implementation?

1 Like