b= imhistmatchn(一个,,,,参考)转换N-D灰度图像一个and returns output imagebwhose histogram approximately matches the histogram of the reference image参考。两个都一个and参考必须是灰度图像,但它们不需要具有相同的数据类型,大小或尺寸数量。
输出图像,作为N-D灰度图像返回。输出图像是从图像得出的一个直方图与输入图像的直方图近似匹配参考建造NBIN同样间隔的垃圾箱。图片bis of the same size and data type as input image一个。输入参数NBINrepresents the upper limit of the number of discrete levels contained in imageb。