Hello again,
You did not try to eliminate the gradient? I have a large gradient.
I hope this gradient disappears while using a kind of reference or gain map.
Well I tried to implant a gain map...
I have taken a averaged cold image (Tec with around 15°C) and a averaged hot image (heating plate with around 120°C).
Than I just take the value of each pixel with HotVal-ColdVal as a gain map. I experimented a little bit, and make than a processed Gain map (float array).
With here the values are based on 1... 1.3 will make the pixel higher and 0.8 will reduce the pixel after processing.
But I cant get it working now... maybe some of you has a better idea or find a mistake.
Now the reference image (the similar way to miguelvp) seems the only good way now.
That means... take a averaged image of an even heated surface and pres on "take actual Frame as Reference".
Than the new image will be processed like NewFramePixel-ReferencePixel+MinValue+Offset (the MinValue was from NewFrame). The output has no gradient and very less pixel artifacts... but just for a short time period.
I take a picture from my raspberry Pi... and a picture with my Ex... well here a huge difference.
Like the first version, the frames could be stored in 2 ways (both in tab "TestArea"):
- a big file as readable value separated with a #
- a *.dat file with binary saving (2byte 1 value) it has lower size
for viewing a *.dat file (or *.SAT file from some thermal cameras) you can use the DevTools (C# open source):
http://joe-c.de/pages/posts/programm_dev_tools_133.php#bilderand now just a small success... the usb reconnect works now.
The defect pixel map was stored in editor readable format (Pixel ok: - pixel defekt: #).
but this map is not used now.
Btw some idea... has anyone tried to use another byte command to get a frame?
Now we calculate some processed image to process our own pictures.
But a better way was a true raw sensor data stream (maybe just another byte command?). This will end in a nicer frame rate, because you can use each frame you get.
Ok, you have to implement your own shutter for NUC... not a huge thing, old camcorders has nice shutters, that easy could placed in front of the lens.
@Mike... do you sacrifice your seek just for getting this layer images?
Well... thanks.
It would be interesting if this sensor could be used with another µC...like a stm32f4xx.