该程序获取彩色或单色图像,并允许用户通过滑块以交互/手动方式设置单色图像或彩色图像的单色带阈值,以设置最大和最小阈值。阈值图像是一个二值图像,可以用作其他图像的掩膜图像。在阈值图像中的像素作为二值图像(黑色/白色)示出在中间图像中,并且原始图像像素被显示在左图像(灰度或颜色)中被掩蔽。输入是开始时的低阈值和高阈值,以及图像文件名或图像矩阵。程序返回阈值和用于选择阈值的最后一个色带。图像可以是整型(uint8、uint16等)或浮点型(单、双)。
This program takes a color or monochrome image and lets the user interactively/manually threshold the monochrome image, or a single color band of a color image, via sliders to set the maximum and minimum thresholds. The thresholded image is a binary image that can be used as a mask image for other images. The pixels in the thresholded range are shown in the middle image as a binary image (black/white), and the original image pixels are shown masked in the left image (gray scale or color). Inputs are the low and high thresholds to start with and the image file name or image matrix. The program returns the threshold values and the last color band that was used to select the threshold. The image can be of type integer (uint8, uint16, etc.) or floating point (single, double).
下载地址:
https://url92.ctfile.com/f/1850492-552101379-f32307
(访问密码:3660)