×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Matlab Image Processing Help

Matlab Image Processing Help

Matlab Image Processing Help

(OP)
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

RE: Matlab Image Processing Help

Homework posting is not allowed

TTFN



RE: Matlab Image Processing Help

(OP)
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.

RE: Matlab Image Processing Help

You need to have the image processing toolbox, otherwise, you're simply going to have to brute-force the algorithm.

TTFN



RE: Matlab Image Processing Help

(OP)
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?

RE: Matlab Image Processing Help

OK, then start using the help file, starting with "roicolor"

Is this project for school?

TTFN



RE: Matlab Image Processing Help

(OP)
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.

RE: Matlab Image Processing Help

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



RE: Matlab Image Processing Help

(OP)
Ok,

Many thanks for your help.

J

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources