comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » hot pixels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
hot pixels [message #88611] Sat, 17 May 2014 02:15 Go to next message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Hi,
I've had a look at this post ( https://groups.google.com/d/msg/comp.lang.idl-pvwave/GFHtWjs bfP0/wOqkGNcDJIgJ), but could not make up my mind on how to tread this. I have a detector giving some intensity per pixel in, say, unsigned integer (up to 65535). There are a few pixel that are stuck at 65535. The thing I want to do is not only to display the image (I can substitute the pixel with some interpolation,average,..., of neighbor values), where it is not crucial what value I use (given enough pixel, it is difficult to tell the difference between one method or the other), but also to do some sort of image alignment based either on phase correlation (FFT) or the NASA correl_optimize. Either method, I would like to get the "best" result, meaning disregarding those hot pixels. As far as I know, FFT and correl_optimize have no option for bad data, therefore I have to replace this data in the most feasible way (not changing the data would mean I get no shift between the images because these pixels don't move...).

A further complication is that in a few cases, these pixels are also neighbors. That makes things harder...
Any suggestions or indication where to find more info on how to get a better estimation is greatly welcome.

Thanks,
Helder
Re: hot pixels [message #88615 is a reply to message #88611] Sun, 18 May 2014 09:46 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Saturday, May 17, 2014 5:15:13 AM UTC-4, Helder wrote:
> Hi,
>
> I've had a look at this post ( https://groups.google.com/d/msg/comp.lang.idl-pvwave/GFHtWjs bfP0/wOqkGNcDJIgJ), but could not make up my mind on how to tread this. I have a detector giving some intensity per pixel in, say, unsigned integer (up to 65535). There are a few pixel that are stuck at 65535. The thing I want to do is not only to display the image (I can substitute the pixel with some interpolation,average,..., of neighbor values), where it is not crucial what value I use (given enough pixel, it is difficult to tell the difference between one method or the other), but also to do some sort of image alignment based either on phase correlation (FFT) or the NASA correl_optimize. Either method, I would like to get the "best" result, meaning disregarding those hot pixels. As far as I know, FFT and correl_optimize have no option for bad data, therefore I have to replace this data in the most feasible way (not changing the data would mean I get no shift between the images because these pixels don't move...).
>
>
>
> A further complication is that in a few cases, these pixels are also neighbors. That makes things harder...
>
> Any suggestions or indication where to find more info on how to get a better estimation is greatly welcome.

If you replace the "bad" pixels with the mean pixel value, those values should be effectively ignored by an FFT. By "mean pixel value" I mean the mean value of all "good" pixel values.

Craig
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: When is double not double? (converting from string to double)
Next Topic: Reading in date & time from csv file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:32:11 PDT 2025

Total time taken to generate the page: 0.00387 seconds