Author Topic: SeekThermal - How to correct the image received from the sensor?  (Read 42212 times)

0 Members and 1 Guest are viewing this topic.

Offline jadewTopic starter

  • Frequent Contributor
  • **
  • Posts: 472
  • Country: ro
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #50 on: July 17, 2015, 04:07:40 pm »
Nice. Have a good vacation!

Edit:
Made some changes to the editor and added a new theme that I think adds more contrast when inspecting PCBs.

Edit 2:
I added a little histogram. It should be possible to create a profile that adjusts itself based on the distribution of values, but I'm not sure it's worth the time.
« Last Edit: July 19, 2015, 11:56:13 pm by jadew »
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #51 on: July 20, 2015, 05:44:01 pm »
Tnx for this new palette editor.  :-+

I've converted 12 Flir and 3 Therm-App palettes. All are in the attachment.
F-*=Flir
TA-*=Therm-App
« Last Edit: July 20, 2015, 06:12:15 pm by frenky »
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #52 on: July 20, 2015, 05:46:07 pm »
Demo:  :D

F-Arctic:


F-BlueRed:


F-Glowbow:


F-GrayRed:


F-Iron:


F-Lava:


F-Rain:


F-Rainbow:


F-RainHC:


F-Saturation:


F-Yellow:


TA-BlueYellow:


TA-PurpleYellow:


TA-Rainbow:
« Last Edit: July 20, 2015, 05:54:05 pm by frenky »
 

Offline jadewTopic starter

  • Frequent Contributor
  • **
  • Posts: 472
  • Country: ro
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #53 on: July 20, 2015, 07:57:47 pm »
Thanks a lot, that's absolutely awesome!

Edit:
Any idea on weather Flir or ThermApp have any legal rights over these palettes? I was going to ask if I could add them to the app, but then this came to my mind.

Now I'm actually considering removing the Iron and Amber theme too, because they're inspired from the ones in the app.
« Last Edit: July 20, 2015, 08:29:15 pm by jadew »
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #54 on: July 20, 2015, 08:42:24 pm »
I don't know about legal rights.
I guess there could be a problem if we used exact Flir or Therm-App palettes (or files) in the app, but this ones are only a approximation of those palettes... :-//
 

Offline jadewTopic starter

  • Frequent Contributor
  • **
  • Posts: 472
  • Country: ro
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #55 on: July 20, 2015, 09:21:59 pm »
Yeah, I don't know either. Maybe someone with some legal experience can shed some light on how these things go.
 

Offline kingjamez

  • Newbie
  • Posts: 3
  • Country: us
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #56 on: July 22, 2015, 01:47:23 pm »
I'd like to try out Thermal View. I've downloaded the zip. I've searched and I can't find windows drivers for the seek thermal camera. When I click "connect" it says "Failed to communicate with the USB device". Where can I find the drivers?

It seems the rest of the members have figured this out... but I'm beating my head against the wall.

Help!

-Jim
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #58 on: July 22, 2015, 01:58:28 pm »
You should also check that your USB cable has sense pin in female micro usb connected to ground like this:


Good option is also to use regular USB cable and solder this pcb to it:

 http://goo.gl/2VAaOp
And connect ID pin to the ground...
« Last Edit: July 22, 2015, 02:03:16 pm by frenky »
 

Offline kingjamez

  • Newbie
  • Posts: 3
  • Country: us
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #59 on: July 22, 2015, 02:14:35 pm »
Wow, that was fast. Thank you very much.

-Jim
 

Offline jadewTopic starter

  • Frequent Contributor
  • **
  • Posts: 472
  • Country: ro
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #60 on: July 22, 2015, 02:19:03 pm »
Did it work?
 

Offline kingjamez

  • Newbie
  • Posts: 3
  • Country: us
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #61 on: July 22, 2015, 02:51:20 pm »
Indeed it did, got it working within 5 minutes of reading the post. I'm currently at work so can't really dive deep, but so far so good. I'm running it on my Teclast X98 windows 8 tablet.

-Jim
 

Offline sguyader

  • Newbie
  • Posts: 8
  • Country: gp
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #62 on: September 15, 2015, 01:37:44 pm »
Hi,

I'm new to this board, I got interested in this topic because for my research, I need to get thermal images of plants leaves with fungal disease necrotic lesions. More precisely, I want to investigate temperature differences between center, border necrotic, and healthy leaf areas.
As a starting project, I don't want to invest a lot of money, so the Seek Thermal XR seems to fit a good part of the bill.

In the end, I need to retrieve data from the camera frames, that I can translate to temperature, or at least to be able to compute température differences between different image areas. How far are you guys from getting this kind of data out of the Seek Thermal using your the software you develop?
Some collegues of mine will probably also be interested to get thermal images and control the camera from a Raspeberry Pi board in programmed time lapse.

Thanks in advance, and if I didn't ask my question to the right forum, feel free to let me know!

-Sebastien
 

Offline encryptededdy

  • Frequent Contributor
  • **
  • Posts: 358
  • Country: nz
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #63 on: September 17, 2015, 12:25:32 pm »
It sounds like for your project you will be dealing with low temperature differentials. Perhaps the Seek is not the best for that use, as the sensitivity of the Seek is not particularly good.

It also sounds like resolution isn't a huge deal. If that is the case, I would try the FLIR Lepton dev kit. It'll hook up to a Pi easily and it also has better sensitivity than the Seek.  However it is only 80x60 resolution so you have to be aware of that.
 

Offline sguyader

  • Newbie
  • Posts: 8
  • Country: gp
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #64 on: September 17, 2015, 01:46:48 pm »
Thanks encryptededdy!
 

Offline kc-in-ual

  • Newbie
  • Posts: 2
  • Country: us
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #65 on: January 22, 2016, 03:18:33 am »
The link seems not working:
http://dumb.ro/files/ThermalView.zip
That would be great if the file can be uploaded again  :)

To compile ThermalView https://github.com/rzva/ThermalView, I encountered errors like this:
Code: [Select]
1>MainDialog.cpp(482): error C2039: 'value_type' : is not a member of '`global namespace''
1>MainDialog.cpp(482): error C2146: syntax error : missing ')' before identifier 'value_type'
1>MainDialog.cpp(482): error C2059: syntax error : ')'
1>  thermal.cpp
1>  wxcrafter.cpp
1>  wxcrafter_bitmaps.cpp
1>  wximageview.cpp
1>thermal.cpp(342): error C2675: unary '!' : 'boost::synchronized_value<T>' does not define this operator or a conversion to a type acceptable to the predefined operator
1>          with
1>          [
1>              T=bool
1>          ]
1>thermal.cpp(359): error C2451: conditional expression of type 'boost::synchronized_value<T>' is illegal
1>          with
1>          [
1>              T=bool
1>          ]
1>          No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>thermal.cpp(388): error C2675: unary '!' : 'boost::synchronized_value<T>' does not define this operator or a conversion to a type acceptable to the predefined operator
1>          with
1>          [
1>              T=bool
1>          ]

Just to make sure I get the libraries right:
  • wxWidget 3.0.2 vc110
  • libusb-1.0.20
  • boost 1.58 vc110
  • Visual Studio 2013
  • Platform toolset Visual Studio 2012 (v110)

Am I missing anything? Any advice will help! Thanks~
 

Offline kc-in-ual

  • Newbie
  • Posts: 2
  • Country: us
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #66 on: January 22, 2016, 06:52:42 am »
Problem solved.

  • wxWidget 3.0.2 vc120
  • libusb-1.0.20
  • boost 1.58 vc120
  • Visual Studio 2013 with platform toolset v120

Also
  • Compile the wxWidget and boost for the *.lib. Pre-built binaries may work but didn't work on me (using win10, maybe it was the problem)
  • You may want to add "boost_thread-vc120-mt-gd-1_58.lib" to your library path in the project setting before compiling
  • Make sure you are using USB OTG cable to connect SEEK to your PC's usb port

Just in case someone want to try it without compiling: http://www.megafileupload.com/eksJ/ThermalView_debug.rar

 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #67 on: January 22, 2016, 08:10:19 am »
Tnx for this.
I was trying to get this VS project running without success in the past. Now I'll try again...

I did manage to build it in CodeLite (Win7 32bit) but when I run the executable I get:
Quote
Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1008,STL containers,compatible with 2.8 ),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1002,STL containers,compatible with 2.8 ).

It seems to be a wxWidgets bug:
https://groups.google.com/forum/#!topic/wx-users/bzXESX__828
« Last Edit: January 22, 2016, 08:59:39 am by frenky »
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #68 on: January 23, 2016, 03:45:09 pm »
I gave up trying to get this jadew's project run successfully in CodeLite or VS.
So I went with another approach...

I studied his code and used his algorithm for fixing gain and offset of the pixels.
Then I applied my own noise reduction and the result is something that I'm very pleased with.

This is image of a room corner with approx 3*C temp range:


Android app produces this (notice the big dust circle top right...; not sure why app crops the image)


"My" new app (Most credits should go to: sgstair, miguelvp, jadew):
Image has a lot more details and contrast in it. And on the left you can clearly see the stud in the wall (drywall).


And with some median averaging of multiple frames the image becomes really clean:
« Last Edit: January 23, 2016, 04:37:16 pm by frenky »
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5550
  • Country: us
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #69 on: January 23, 2016, 05:04:17 pm »
...
This is image of a room corner with approx 3*C temp range:


"My" new app ... with some median averaging of multiple frames the image becomes really clean:


Very, very, very NICE  :-+
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #70 on: January 23, 2016, 07:57:54 pm »
Tnx. :) I'll post the code here after I clean it up a bit...
 

Offline efahrenholz

  • Regular Contributor
  • *
  • Posts: 188
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #71 on: January 23, 2016, 09:30:32 pm »
Could any of you post some shots outside? I'm curious to see the resolution at a distance with variations in thermal contrast. I honestly doubted that the sensor was capable of anything useful but you guys have made real progress here. With some smart image processing, you all have managed to squeeze the near real resolution out of this thing and that increases the value tremendously. Also, any chance you might port this code to android? I'm half tempted to buy another seek. I was very close to buying the i3 thermal expert but they require a bank wire and to me that seems to be a bit too much effort... How do you develop a product without a storefront or transaction system? Anyways, with this improvement, it starts looking more like a 320x240 camera and not a 160x120 camera.
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #72 on: January 24, 2016, 12:53:44 pm »
I did this in a few minutes because it's freezing outside and I have no desire to be out with a laptop for an hour trying to make a good thermal photo... ;D

Scene:


Seek image (perhaps I did not pick the best thermal range, but it is what it is...)
In IrfanView I resized it to 200% (B-spline) and corrected gamma for better contrast:


Original:
« Last Edit: January 24, 2016, 01:08:14 pm by frenky »
 

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #73 on: January 24, 2016, 10:27:05 pm »
« Last Edit: January 24, 2016, 10:43:06 pm by frenky »
 

Offline jadewTopic starter

  • Frequent Contributor
  • **
  • Posts: 472
  • Country: ro
Re: SeekThermal - How to correct the image received from the sensor?
« Reply #74 on: January 24, 2016, 10:48:22 pm »
@frenky, nice job!

Was hoping that someone will continue working on this. Looking forward for your releases :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf