How can i get the center of an image


(wahabk1) #1

hi all,
i am here again

please i want to get the center of an image and read it feature

how can i get the center of an image
and how can i read it feature at the center for example

please if any one who did not understand please ask me to put more explanation

thanks in advance


(عبد العزيز غالب) #2

Hi there
welcome again

Bienvenido de nuevo mi amigo


For your question there is a function called regionprops the syntax for it is as following :
STATS = regionprops(L, properties)


You can get the center (measure it) by using “Centriod” , s = regionprops(1, ‘centroid’) the other measurement tools are available using the same command and I would prefer to leave you with the link below so you can get whatever you need/want
Any further questions you are welcome to ask !!!

http://www.mathworks.com/access/helpdesk/help/toolbox/images/index.html?/access/helpdesk/help/toolbox/images/regionprops.html&http://www.google.com.my/search?q=STATS+%3D+regionprops%28L%2Cproperties%29&hl=en&safe=off&sa=2





buena suerte