Histogram equalize image

histogramEqualizeImage(image, numberOfHistogramBins = 256)

Arguments

image

image to undergo intensity transformation.

numberOfHistogramBins

number of histogram levels.

Value

equalized image.

Author

NJ Tustison

Examples

image <- antsImageRead(getANTsRData("r16"), 2)
eqImage <- histogramEqualizeImage(image)