Center Points and Moments of Image

조회 수: 5 (최근 30일)
Özge AKBÜLBÜL
Özge AKBÜLBÜL 2017년 10월 16일
댓글: Özge AKBÜLBÜL 2017년 10월 17일
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)?

채택된 답변

Image Analyst
Image Analyst 2017년 10월 16일
See my attached image moments demo.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by