如何从Matlab图像中检测颜色? [英] how to detect colour from an image matlab?

查看:118
本文介绍了如何从Matlab图像中检测颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在做一个基于垫实验室的机器人技术项目,该项目实际上是根据对象的颜色对对象进行排序的,因此我们需要一种算法,以使用垫实验室从相机拍摄的图像中检测特定颜色. 如果有人可以帮助我,那将是一个很大的帮助.显示该项目的视频

we are doing a mat lab based robotics project.which actually sorts objects based on its color so we need an algorithm to detect specific color from the image captured from a camera using mat lab. it will be a great help if some one can help me with it.its the video of the project

推荐答案

对Amro的回答:

上方的五个正方形在HSV空间中具有相同的色相值.通过色相"进行选择会有所帮助,但是您还希望对饱和度和值施加一些约束.

The five squares above all have the same Hue value in HSV space. Selecting by Hue is helpful, but you'll want to impose some constraints on Saturation and value as well.

HSV允许您以更有意义的方式描述颜色,但是您仍然需要查看所有三个值.

HSV allows you to describe color in a more human-meaningful way, but you still need to look at all three values.

这篇关于如何从Matlab图像中检测颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆