real time red color detection

1) i want to detect pure red color real time for that wat i am using is purered=red-green-blue
then
using purered>/<threshold....e.g.....purered>60 or purered<60
but i have to adjust this threshold manually whenever there's any change e.g change in location of cameras /scenario is there any way to make it auto?

댓글 수: 1

Yash
Yash 2012년 7월 15일
read the exact pixels an apply thresholding then

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2012년 7월 15일

0 개 추천

This is asked so often it should probably be on the FAQ. Have you checked the File Exchange for submissions like http://www.mathworks.com/matlabcentral/fileexchange/28757-tracking-red-color-objects-using-matlab?

댓글 수: 2

awais rehman
awais rehman 2012년 7월 15일
yes but unable to detect
Image Analyst
Image Analyst 2012년 7월 15일
편집: Image Analyst 2012년 7월 15일
So adapt it. My color segmentation demos might help: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

댓글을 달려면 로그인하십시오.

질문:

2012년 7월 14일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by