Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > idlanroigroup m...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 5687 of 5734
Post > Topic >>

idlanroigroup masking weirdness

by Loren Anderson <andersld@[EMAIL PROTECTED] > Apr 28, 2008 at 07:26 AM

Hi all,
I've been using idlanroigroup to create masks and there I've found
something to be aware of.  Let's say you have a background mask that
goes from masked (value = 0, "-") to unmasked (value = 255, "+") like
so:

------++++++
------++++++
------++++++
------++++++
------++++++
------++++++

Now you want to do further masking on this, like so (cut out a
semicircle:

------++++++
-------+++++
--------++++
--------++++
-------++++
------++++++

What you will get will be a *filled* semicircle - it will not be
masked out.  This applies only when the boundary goes from 0 to 255
from left to right.  This sort of boundary: ++++----- does not produce
this problem.  It must have something to do with how the mask array is
filled.

Here's an example: http://people.bu.edu/andersld/mask.jpg

-Loren




 1 Posts in Topic:
idlanroigroup masking weirdness
Loren Anderson <anders  2008-04-28 07:26:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 0:52:15 CDT 2008.