Center Points and Moments of Image

5 visualizaciones (últimos 30 días)
Özge AKBÜLBÜL
Özge AKBÜLBÜL el 16 de Oct. de 2017
Comentada: Özge AKBÜLBÜL el 17 de Oct. de 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)?

Respuesta aceptada

Image Analyst
Image Analyst el 16 de Oct. de 2017
See my attached image moments demo.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by