From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Image Neighbourhood
Date: Fri, 23 Mar 2012 19:33:32 +0000 (UTC)
Organization: Xoran Technologies
Lines: 9
Message-ID: <jkij6c$nrp$>
References: <10038391.985.1332529971996.JavaMail.geo-discussion-forums@pbje9>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1332531212 24441 (23 Mar 2012 19:33:32 GMT)
NNTP-Posting-Date: Fri, 23 Mar 2012 19:33:32 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: comp.soft-sys.matlab:761994

Ravi Shekhar <> wrote in message <10038391.985.1332529971996.JavaMail.geo-discussion-forums@pbje9>...
> I have a binary image (say 256 X 256) and for given points (e.g. (5,10), (20,100), (20,200) etc),
> I want to find 17 x 17 neighbourhood of all given points in different matrix.
> I want to to it without for loop. 

Elaborate on  why don't want to use a for loop. It doesn't sound like it would create any problems.

And how do you define the 17x17 neighborhood of (5,10) which is less than 17 away from the edge of the matrix.