【源码】阈值图像设计

在这里插入图片描述
该程序的输入为彩色或单色图像,并允许用户通过滑块交互/手动阈值设定单色或彩色图像的单个色带,实现最大和最小阈值的变化。

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.

图像数据可以是整型(uint8、uint16等)或浮点(single、double)类型。

The image can be of type integer (uint8, uint16, etc.) or floating point (single, double).

源码下载地址:

http://page2.dfpan.com/fs/9ldc5jc2325182d9166/

更多精彩文章请关注微信号:在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值