Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13159 > unrolled thread

Re: neighborhood operations on image

Started byBill Rowe <readnews@sbcglobal.net>
First post2013-01-16 06:38 +0000
Last post2013-01-16 06:38 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: neighborhood operations on image Bill Rowe <readnews@sbcglobal.net> - 2013-01-16 06:38 +0000

#13159 — Re: neighborhood operations on image

FromBill Rowe <readnews@sbcglobal.net>
Date2013-01-16 06:38 +0000
SubjectRe: neighborhood operations on image
Message-ID<kd5htt$jjn$1@smc.vnet.net>
On 1/14/13 at 11:32 PM, siddys@gmail.com wrote:

>I am really impressed by the new set of image processing operations
>in Mathematica 9. I am, however, having trouble defining my own
>operations, and one of the things I do very frequently in another
>system, is neighborhood operations.  I would like to do these things
>in Mathematica,and would like so help:

>How do I define a function that takes an Image, and performs
>operations, say, on a 3x3 nbdh for all pixels. I would like to use
>the functional programming paradigm. Filter is one such operation. I
>would love to see how Mathematica does it internally, but I am not
>able to find it.

There are a many ways within Mathematica to manipulate images
using a function based on any desired neighborhood for pixels
within that image.

Probably the function you want to use is ImageConvolve or a
related function such as ImageCorrelate.

If these are too high level, i.e., you want to manipulate the
image data directly, then there are functions like ListConvolve
or ListCorrelate. Both ListConvolve and ListCorrelate allow you
to specify arbitrary functions to operate on array elements (pixels).

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web