how to crop a size of 25x20 from a image if centre coordinates are known
1 view (last 30 days)
Show older comments
I have an image with 100 small circles in it and i have the centre coordinates of these circles. How to crop 25x20 size image from the known centre coordinates and apply on all these 100 small circle coordinates on the image.
0 Comments
Answers (1)
KSSV
on 5 Aug 2022
Let (x,y) be your center pixl locations.
iwant = imcrop(I,[x-10 y-10 20 20]) ;
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!