Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: geometry center
Date: Mon, 5 Jan 2009 17:06:02 +0000 (UTC)
Organization: Atlantic Inertial Systems
Lines: 10
Message-ID: <gjtelq$nga$1@fred.mathworks.com>
References: <fumrl7$4ck$1@fred.mathworks.com> <gjtdi5$avk$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1231175162 24074 172.30.248.38 (5 Jan 2009 17:06:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 5 Jan 2009 17:06:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1405925
Xref: news.mathworks.com comp.soft-sys.matlab:509867


"chandni magoo" <chandnimalh@gmail.com> wrote in message <gjtdi5$avk$1@fred.mathworks.com>...
> hi
> i wanted to know the method of finding geometric center of an image


[nRow nCol] = size(theImage);
xCenter = nCol/2;
yCenter = nRow/2;

~Adam