How to ignore part of image

asked 2014-04-04 14:09:16 -0500

cellurl gravatar image

I want to ignore some part of the image rightup front.

For example, I am processing a road-car-video and I just want to process inside the lines. For starters, I assume the lines are fixed in a V shape away from me. The V shape can just be a png file.

How can I do that painlessly?

Thanks for any leads.

edit retag flag offensive close merge delete

Comments

Create a mask corresponding to your region of interest, copy the source using the mask and process it.

Haris gravatar imageHaris ( 2014-04-04 22:21:47 -0500 )edit

is there a MASK function I can use? Thanks for responding.

cellurl gravatar imagecellurl ( 2014-04-07 11:31:28 -0500 )edit

Here mask means create in image with value 255 on the area you want to copy, and make rest zero.

Haris gravatar imageHaris ( 2014-04-07 13:24:18 -0500 )edit