Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Difference between pixel values and centre pixel in a local neighbourhood
Replies: 12   Last Post: Jul 25, 2012 2:58 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
ImageAnalyst

Posts: 12,875
Registered: 12/26/06
Re: Difference between pixel values and centre pixel in a local neighbourhood
Posted: Jul 21, 2012 6:48 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Since you're not using sliding blocks but blocks that "jump" in jumps of the window size, you'd have to use blockproc(). Be sure that your function in blockproc returns a 3x3 array, not a single number of else your output image will be 1/3 as big as your input image. If you still can't figure it out, write back.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.