How to automatically crop a frame of a video in simulink

3 views (last 30 days)
Hi everyone! I am working to crop lanes from frames of a video in simulink.I have used selector block to define my region of interest. But as the location of lanes will vary in every frame so do I have to define my region of interest in each and every frame by varying the parameters of selector block.Is there any way to define my ROI automatically.Any help???

Answers (1)

Ryan G
Ryan G on 4 Sep 2012
You can go through a demo like this that detects lanes and use that to find your ROI if you have a similar problem.

Community Treasure Hunt

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

Start Hunting!