creat mask from random border lines for time frame cropping
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi all,
I want to crop the maximum rectangle area in image 'frame' as the red rec. in image 'frame1'. I am looking to have a mask from this image for another images, means I am looking for coordinates of the red frame. The red frame has to keep the original image x, y ratio.
Thanks, HM


0 Commenti
Risposte (1)
Image Analyst
il 11 Ott 2015
This is not that well defined. What if you have a hairline black line meandering from the upper left corner down into the lower right quadrant? What would be the inner bounding box then? Why does the mask need to be a perfect rectangle anyway? Maybe you can just use what you got and call imclose() or bwconvhull(), and then shrink it a few layers by calling imerode().
4 Commenti
ali hammood
il 3 Ott 2017
hi follow this link https://www.mathworks.com/help/images/examples/detecting-a-cell-using-image-segmentation.html
Vedere anche
Categorie
Scopri di più su Computer Vision with Simulink in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!