Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matlab Image Processing Help

Status
Not open for further replies.

jpr105

Computer
Feb 7, 2007
12
Dear Forum Members,

I have been given a set of images with objects bounded by a yellow box. I need to be able to find the yellow boxes within the images in order to find the centre of the objects. Is there a function built in to matlab that can find boundaries of a certain colour whilst giving the pixel indices? Or any ideas on a way to tackle this would be much appreciated!

Many thanks,

J
 
Replies continue below

Recommended for you

It is not part of any homework, it is part of research I am doing and I am struggling to think of a way to do this efficiently since I do not know Matlab well enough.

I am just trying to find functions with this capability or methods that would be able to do this.
 
You need to have the image processing toolbox, otherwise, you're simply going to have to brute-force the algorithm.

TTFN



 
I do have the image processing toolbox but since I am fairly new to Matlab I am unaware of how this can be useful. Could you please provide more details?
 
OK, then start using the help file, starting with "roicolor"

Is this project for school?

TTFN



 
ok, so I can set the region of intensity that yellow lies between. Is there a function that can do this using RGB values?

This is not for school, it is part of a research project for my Masters. The problem is simply my knowledge of Matlab and the functions built in.
 
So, you either figure out the individual RGB ranges to filter for and AND them, or you look up RGB2IND in the help file and try that.

TTFN



 
Ok,

Many thanks for your help.

J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor