Center Points and Moments of Image
5 views (last 30 days)
Show older comments
Özge AKBÜLBÜL
on 16 Oct 2017
Commented: Özge AKBÜLBÜL
on 17 Oct 2017
I am trying to find some image's center points and moments but first I have to convert the image to binary by thresholding. So I did that:
I=imread('image.tiff');
BW=im2bw(I);
imshow(BW);
[m,n]=size(I);
then i did the loop :
for i=0:2048;
for j=0:2048;
but I'm getting confused now. How can I find the center points and moments the easy way (and not using regionprops)?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!