inserting shape into image and cropping accordingly.
Mostra commenti meno recenti
hello all , I want to ask that how to introduce or place different shapes in an image (such as- circle , triangle , rectangle etc.) and crop the image as per them (like - circular , triangular and rectangular cropping) . thank you.
Risposte (1)
Walter Roberson
il 1 Ott 2015
0 voti
You cannot do that. MATLAB only supports rectangular (well, hyperdimensional cuboid) arrays. You cannot end up with, for example, a circular array.
The closest you can get is to crop at the bounding box of the shape.
1 Commento
yogesh jain
il 5 Ott 2015
Categorie
Scopri di più su Create Block Masks in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!