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: How to find the area for two overlapped pattern?
Replies: 6   Last Post: May 3, 2012 6:14 PM

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: How to find the area for two overlapped pattern?
Posted: May 3, 2012 4:30 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On May 3, 2:39 am, "Sheng Yuan" <shyuan1...@gmail.com> wrote:
> Thanks for the information. I thought what was described in the problem is a Convolution operation?  Need to write the check-board patterns  into a matrix (maybe a 60 X 48 matrix? ) with 0s (black square) and 1s (white square), and somehow write the circle as a matrix also (all element=1 inside, not sure how this can be done properly).
>
> After the matrix is built, as the circle is drag along the check-board by 640 steps, the transmissive area of the check-board fall into the 3mm circle will the convolution of the two matrix?
>
> Need help on how to build the matrix and get a [640 X 480] matrix as the out put though.

=====================================================

The Image Processing Toolbox has a checkerboard function. I have a
demo that uses that plus a method using repmat. Let me know if you
need me to post the demo.
ImageAnalyst



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.