Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image processing 使用GPUImageAdaptiveThresholdFilter自动阈值化?_Image Processing_Filter_Gpuimage - Fatal编程技术网

Image processing 使用GPUImageAdaptiveThresholdFilter自动阈值化?

Image processing 使用GPUImageAdaptiveThresholdFilter自动阈值化?,image-processing,filter,gpuimage,Image Processing,Filter,Gpuimage,我想了解GPUImageAdaptiveThresholdFilter是否执行自动阈值设置。我不太清楚“自动阈值设置”是什么意思,但GPUImageAdaptiveThresholdFilter的工作方式是将图像降低为亮度(灰度),然后对其执行用户定义半径的框模糊 对于每个像素,将像素的亮度与框模糊的值进行比较。如果高于模糊的局部平均亮度,则像素变为白色,如果低于,则变为黑色。因此,它是基于围绕该像素的像素的平均亮度来阈值化的

我想了解GPUImageAdaptiveThresholdFilter是否执行自动阈值设置。

我不太清楚“自动阈值设置”是什么意思,但GPUImageAdaptiveThresholdFilter的工作方式是将图像降低为亮度(灰度),然后对其执行用户定义半径的框模糊

对于每个像素,将像素的亮度与框模糊的值进行比较。如果高于模糊的局部平均亮度,则像素变为白色,如果低于,则变为黑色。因此,它是基于围绕该像素的像素的平均亮度来阈值化的