陈宝琛作者:洪梦霞 梁少华
来源:《电脑知识与技术》2020年第34期
水土保持学报 摘要:颜分割可用于检测身体肿瘤、从森林或海洋背景中提取野生动物的图像,或者从单一的背景图像中提取其他彩物体,大数据时代背景下,颜空间对于图像分析仍然非常有用,通过在RGB和HSV颜空间可视化图像,可以看到图像颜分布的散点图。通过阈值分割,确定要提取的所有像素的阈值,在所有像素中获取期望的像素,得到分割后的图像。实验结果分析,使用OpenCV基于Python中的颜从图像中分割对象,可以达到简单、快速、可靠的目的。 关键词:颜空间;颜分割;阈值分割
中图分类号:TP3 文献标识码:A
文章编号:1009-3044(2020)34-0225-03
家传秘方 Abstract: Color segmentation can be used to detect body tumors, extract wildlife images from forest or marine background, or extract other color objects from a single background image. In the background of big data era, color space is still very useful for image analysis. By visualizing images in RGB and HSV color spaces, we can see the s床垫是越硬越好吗
catter map of image color distribution. Through threshold segmentation, the threshold of all the pixels to be extracted is determined, and the desired pixels are obtained from all pixels to obtain the segmented image. Experimental results show that using OpenCV to segment objects from images based on Python color can achieve the purpose of simple, fast and reliable.
脉动测速