X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08 Feb 2007 02:15 PM by  anon
Uneven Background
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
08 Feb 2007 02:15 PM
    Hi, I have an image consisting of bright spots which happens to be on an uneven background. That is the bright spots are on some patchy dark areas to brighter areas. Is there a way of correcting the background and making it even? I have tried different filters, and sharpen functions in IDL and none really does the trick...maybe I need to do more complicated processing? Thanks radha

    Deleted User



    New Member


    Posts:
    New Member


    --
    08 Feb 2007 02:15 PM
    It's not clear from your description what an "even background" should look like. I would interpret that as "make the background all one color". And in that case I wonder why one cannot just filter with a simple threshold value and WHERE function, e.g. threshold = 100 ; All light intensities under 100 should be assigned one even color backgroundPixelLocs = where(myImage lt threshold) myImage[backgroundPixelLocs] eq 0 ; Set all background pixels to black I bet your problem is more complex than this, but I cannot see this from your description above. If I am correct, perhaps describing your problem with some specific example data values will help. James Jones
    You are not authorized to post a reply.