X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09 Nov 2015 08:27 AM by  anon
CANNY on array with nan's
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:2
New Member


--
09 Nov 2015 08:27 AM
    <p>I am trying cloud detection in fisheye <a target="blank" href="http://www.exelisvis.com/LinkClick.aspx?link=184&amp;tabid=184&amp;portalid=0&amp;mid=801">sky images</a> and want to use edge detection.</p> <p>Starting point is the blue to red ratio, parts outside the circular fisheye image are set to nan.</p> <p>The sobel operator has a /nan flag and thus can deal with this and delivers gradient images.</p> <p>The canny operator which is based on the sobel results in images with only zeroes. Trying to set a /nan flag results in a '... keyword not allowed error' </p> <p>Is there a way to get around this ?</p> <p>&nbsp;</p>

    Zachary Norman



    Basic Member


    Posts:173
    Basic Member


    --
    10 Nov 2015 02:46 PM
    <p>Hi Jan,</p> <p><br /> </p> <p>The /nan keyword is not a keyword set for CANNY. You will likely need to test the other keywords that CANNY has such as HIGH and LOW to see if this helps you get the results you are looking for. Also, I would avoid having your NaN values actually be NaN and instead just use a real number that could not possibly be real data.&nbsp;</p>
    You are not authorized to post a reply.