Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

机器视觉模块IMAQ Equalize VI 实现原理

IMAQ Equalize VI 默认是均衡化整个图像,该函数有一个Range的接口,目前需要把这个函数用C++实现,引入Range参数后,不知道该如何进行像素的映射。希望能得到大家的指点。

 

0 Kudos
Message 1 of 2
(4,237 Views)

在函数的说明文档里对于range的映射关系已经说的很明确了。

csgl.gif

Minimum is the smallest value used for processing. After processing, all pixel values that are less than or equal to the Minimum in the original image are set to 0 for an 8-bit image. In 16-bit and floating-point images, these pixel values are set to the smallest pixel value found in the original image.

csgl.gif

Maximum is the largest value used for processing. After processing, all pixel values that are greater than or equal to the Maximum in the original image are set to 255 for an 8-bit image. In 16-bit and floating-point images, these pixel values are set to the largest pixel value found in the original image.

Best Regards,
Tao Hou
NISH
0 Kudos
Message 2 of 2
(4,230 Views)