how to extract some pixels with cordinates from original image?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
i have two arrayes from x and y cordinates of particular pixels. i want to crop a region of original image with these two arrayes.(I is my original img and I1 is my img that i want this pixels crop from I);
[row col]=find(I1==1);
2 Comments
Guillaume
on 7 Dec 2015
I don't understand your question. A crop region is typically represented by only two points: the opposite corners of the rectangle to crop, not an array of pixel.
Or are you trying to find the smallest rectangle that will encompass all these pixels?
mari ahmad
on 7 Dec 2015
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!