Author Topic: SeekOFix - new windows software for SeekThermal  (Read 50822 times)

0 Members and 1 Guest are viewing this topic.

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
SeekOFix - new windows software for SeekThermal
« on: January 24, 2016, 10:42:28 pm »
I think It would be better to have this new software in a new thread...

So this new windows app was based on the work of forum members: sgstair, miguelvp, jadew. I just added a bit of my own touch.  ;)

The goal of the app was to get clean images out of very noisy Seek thermal sensor.

Sample photos and attached SeekOFix v0.1  ;)
Raspberry Pi model B:
100mm ZnSe lens:


50mm ZnSe lens:


50mm ZnSe -> Smal PCB of USB SD card reader (1" width):


Room corner with a 3*C temp range:


How to use SeekOFix:
Run it...
If you click on AutoSave checkbox the image will be saved in the "c:\seek\export" folder after every shutter calibration.
If you want to use external calibration:
- place an isothermal plane in front of seeks lens
- wait until you hear the click of shutter calibration
- press the "Calibration: Use frame" button
- remove the isothermal plane

If you wish to save this frames then you should check AutoSave checkbox before doing external calibration.
After you have done that all frames between this external calibration and next shutter calibration will be saved in the  "c:\seek\export" folder.
You can repeat that as many times you want...

P.S.
After I took this RPI images It was probably the first time that I thought at my self "perhaps Seek is not total crap after all". ;D
« Last Edit: January 24, 2016, 11:14:51 pm by frenky »
 
The following users thanked this post: BravoV, eternalone, scelestus13, berider, zitt

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #1 on: January 24, 2016, 11:14:23 pm »
Cool, thank you very much for doing this.
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #2 on: January 24, 2016, 11:22:36 pm »
Well I used a lot of your code to, so thanks to you. ;)

I was kind of forced to make a new app for Seek because I'm saving for a house and my wife would kill me if I would spend 1000€ (with VAT) to buy i3 ThermalExpert. ;D
« Last Edit: January 25, 2016, 08:42:45 am by frenky »
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #3 on: January 25, 2016, 05:55:20 pm »
New version with:
- added display of the first image after calibration (it has the least noise because pixels drift with time)
- autorange based on histogram (no visible histogram in this version)
- dynamic sliders (for fine tuning the desired range)

 

Offline efahrenholz

  • Regular Contributor
  • *
  • Posts: 188
Re: SeekOFix - new windows software for SeekThermal
« Reply #4 on: January 25, 2016, 09:49:49 pm »
It looks like you really got the image quality right where it needs to be to be useful. If I could suggest, how about an image sharpness filter? Even a basic unsharp mask or a regular sharpening filter would really put the final touches on determining what can be pulled out of the sensor. If you manage to implement a sharpening filter, I just might go back out and buy a new Seek Compact. I never thought i'd go back, but damn frenky, you really got something good here. Seek should take some advice from all the work here to improve the app on the phone. You guys are making the image look way better than it ever originally did before.
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 9909
  • Country: gb
Re: SeekOFix - new windows software for SeekThermal
« Reply #5 on: January 25, 2016, 09:59:39 pm »
Excellent work. Impressive results. 👍
Cogito, ergo sum
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #6 on: January 25, 2016, 10:07:57 pm »
If I could suggest, how about an image sharpness filter? Even a basic unsharp mask or a regular sharpening filter would really put the final touches on determining what can be pulled out of the sensor. If you manage to implement a sharpening filter

Probably it could be done... But I don't know what kind of result would you like?
Could you take above images and apply some filters on them so I can see the desired result?

I did quick unsharpen mask in Irfanview but to me this looks worse because the noise really pops out:
(Perhaps some other filter would be better?)

Left original, right unsharpen mask:




« Last Edit: January 25, 2016, 10:13:15 pm by frenky »
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #7 on: January 25, 2016, 10:11:23 pm »
Excellent work. Impressive results. 👍
Thank you.  ;)
 

Offline efahrenholz

  • Regular Contributor
  • *
  • Posts: 188
Re: SeekOFix - new windows software for SeekThermal
« Reply #8 on: January 26, 2016, 07:33:46 am »
Frenky,

That unsharp mask filter is just about perfect. It's not too much and look at how it brought out the faint circuit traces. Noise aside, I'd say it's a fair trade-off.
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #9 on: January 26, 2016, 07:45:45 am »
I have found this: http://www.aforgenet.com/framework/features/convolution_filters.html
Check out the results of the "Sharpen" and "Gaussian Sharpen" filters.
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #10 on: January 26, 2016, 06:38:48 pm »
New version v0.3.  :)

- changed dynamic sliders a bit so it's more user friendly.
- saved files are now in 412x312 resolution
- added sharpening with AForge.NET: http://www.aforgenet.com/framework/

New libraries are in AForge_libs folder. But It should work out of the box...

Original & with sharpening enabled:

« Last Edit: January 26, 2016, 06:59:57 pm by frenky »
 

Offline rodpp

  • Frequent Contributor
  • **
  • Posts: 270
Re: SeekOFix - new windows software for SeekThermal
« Reply #11 on: January 26, 2016, 06:53:14 pm »
Amazing! Thanks for sharing.

Enviado de meu XT1572 usando Tapatalk

 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #12 on: January 27, 2016, 05:35:37 pm »
Just for fun:
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 9909
  • Country: gb
Re: SeekOFix - new windows software for SeekThermal
« Reply #13 on: January 27, 2016, 06:24:28 pm »
Now if the same can be achieved for the FLIR One Gen 2 I will be a very happy bunny :)
Cogito, ergo sum
 

Offline Bill W

  • Frequent Contributor
  • **
  • Posts: 541
  • Country: gb
    • Fire TICS
Re: SeekOFix - new windows software for SeekThermal
« Reply #14 on: January 28, 2016, 01:42:30 am »
Noise appearing on colour palettes is a brain-eye interface problem.  It is one reason that so many imagers tend to offer monochrome as the default, the brain hates chroma noise but happily averages luminance noise.  You can do a lot by trying hard to smooth the rate of change of each R, G and B channel, which is where 'Iron' and similar schemes have been / can be optimised.  For a known scene type like a PCB you could do a better job than the manufacturer by optimising for that specific outcome.  You know there is a lot of ambient, nothing much cold and are not too bothered about distinguishing hot and very hot

ImageJ is really good for trying out palettes on corrected raw* images for those that have not tried already.  With access to sensor ADC data you can also replicate the whole factory calibration and 1-NUC process in it, or export the 320x240 to a spreadsheet for processing.

* by corrected raw I mean 16 bit with a known data value - temperature relationship, as opposed to 'sensor ADC data'.

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #15 on: January 31, 2016, 09:47:37 am »
Interesting...
I don't really like sharpening effect on the Iron palette but on grayscale it's not that bad:
 

Offline Speeder

  • Newbie
  • Posts: 3
  • Country: no
Re: SeekOFix - new windows software for SeekThermal
« Reply #16 on: January 31, 2016, 12:19:02 pm »
Nice work!

Will it also be possible to analyse stored pictures with your software?
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #17 on: January 31, 2016, 03:03:02 pm »
Yes for sure...

My current to-do list is:
1. Histogram (mostly done)
2. Display temp values instead of sensor values *C/*F (I need one afternoon to calibrate seek with handheld IR gun thermometer...)
3. Implement various color palettes and enable users to add their own (mostly done)
4. Capture video (if AForge.NET won't cause any problems)

After that I intended to start working on analytical part of an app...
But now that I'm thinking about it, the best solution would be to just export data in FLIRs thermal image format, so we could use Flir tools to inspect Seek's files. :-/O

« Last Edit: January 31, 2016, 03:29:29 pm by frenky »
 

Offline santasemilla

  • Contributor
  • Posts: 16
  • Country: ar
Re: SeekOFix - new windows software for SeekThermal
« Reply #18 on: February 20, 2016, 02:40:26 am »
Hi frenky and everyone. Sorry if this is a completely stupid question, I'm a noob in this field. Got my Seek XR last November for Energy Efficiency inspections and I'm quite disappointed with the original soft as all of you are. I've been following the progress of the different topics in this forum and I'm impress with the capabilities you got out of this gadget! Is there any chance to port kind of this soft to android? I know that you are using specific libraries that are only windows compatible. Just a question. Thanks for the hard work, to you and all the team!
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 9909
  • Country: gb
Re: SeekOFix - new windows software for SeekThermal
« Reply #19 on: February 20, 2016, 01:32:26 pm »
Very nice work Frenky.

I may have to buy a cheap SEEK camera and use it with your software :)

Fraser
Cogito, ergo sum
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #20 on: February 20, 2016, 10:59:35 pm »
Is there any chance to port kind of this soft to android? I know that you are using specific libraries that are only windows compatible.
I don't think I'll be porting it to android. Mainly because I don't have the knowledge to make android apps.  ;D

I will go into a different (hardware) way: RPI2 + 5" TFT + 5000mAh powerbank + nice handle + Seek with external shutter
« Last Edit: February 20, 2016, 11:01:19 pm by frenky »
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #21 on: February 20, 2016, 11:04:00 pm »
I may have to buy a cheap SEEK camera and use it with your software :)
Why on earth would you do something like that? :-/O (With my software it's just a little less crappy...)
If you want one I'll trade mine for one of yours 320x240 cameras...  ;D
 

Online Fraser

  • Super Contributor
  • ***
  • Posts: 9909
  • Country: gb
Re: SeekOFix - new windows software for SeekThermal
« Reply #22 on: February 21, 2016, 12:45:26 am »
Frenky,

I know the limitations of the SEEK hardware well :) I did own one.

I am just hopefull that someone clever like you can 'polish the turd' a little  with better software :) I can get my hands on an unwanted SEEK for around £50 so it may still be worth having it in the collection :)

I really want SEEK to succeed and that maybe why I do not want to completely abandon them ?

Fraser
Cogito, ergo sum
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #23 on: February 21, 2016, 08:27:25 am »
I really want SEEK to succeed and that maybe why I do not want to completely abandon them ?

Ok I see your point.
I also wish them to succeed because more competition is better for customers. I just wish they would improve on their design of the sensor and shutter...
 

Offline santasemilla

  • Contributor
  • Posts: 16
  • Country: ar
Re: SeekOFix - new windows software for SeekThermal
« Reply #24 on: February 21, 2016, 03:03:09 pm »
Is there any chance to port kind of this soft to android? I know that you are using specific libraries that are only windows compatible.
I don't think I'll be porting it to android. Mainly because I don't have the knowledge to make android apps.  ;D

I will go into a different (hardware) way: RPI2 + 5" TFT + 5000mAh powerbank + nice handle + Seek with external shutter

 :-+

I was just curious, there was a guy working with the seek and a Teclast X98 tablet (a pretty nice dual boot one). He said everything was working great but as far as I saw, the mini USB port was in the wrong possition for the Seek camera... I'm thinking on experimenting with a cheap Windows tablet to try the same, just making sure the port is oriented as it should!

Thanks again for your work frenky
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #25 on: February 22, 2016, 08:42:00 am »
You could make a USB OTG cable yourself. Just make sure you connect sense pin to the ground.
This way you don't have to worry about socket orientation on the tablet.
 

Offline Tantibus Vulgaris

  • Newbie
  • Posts: 2
  • Country: lt
Re: SeekOFix - new windows software for SeekThermal
« Reply #26 on: March 05, 2016, 08:57:10 pm »
Hi Frenky,

Tried out SeekOFix 0.3, but cannot get it working, says "No seek devices found". Installed latest WinUSB with Zadig, tried other drivers as well, but no success.

Seek Compact is of 5th version, USB ID 289D:0010, named as com.thermal.pir.206.1. It is detected by Linux PC too, dmesg shows info about camera, so I suppose my cable is right (not too much to screw there).  Windows also identifies device, as otherwise I wouldn't be able to install driver with Zadig, right? :-)

Anything else I could provide to help to identify problem? I have tried this with Windows 7, one "real" PC and one in VMWare, result are the same. Maybe the difference is my device is of newer generation, with manual focus ring?

Regards
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #27 on: March 05, 2016, 09:06:22 pm »
When you installed driver with zadig did you select iAP interface or com.thermal.pir?

You should select iAP:
https://www.eevblog.com/forum/thermal-imaging/yet-another-cheap-thermal-imager-incoming/msg534497/?PHPSESSID=7168ae8eb50b730e1916ea3fe6dcb052#msg534497
 

Offline Tantibus Vulgaris

  • Newbie
  • Posts: 2
  • Country: lt
Re: SeekOFix - new windows software for SeekThermal
« Reply #28 on: March 05, 2016, 10:59:39 pm »
Thank you for prompt response!

Now, how do I save the picture? :-)

I really like the possibility to fix temperature range, the feature I miss so much in the native Android app. Also "raw" format with temperature values for each pixel would be another tremendous work. I've read you had plans to export Flir format, right? Any progress on that?
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #29 on: March 05, 2016, 11:14:05 pm »
I've been doing a lot of image tuning lately and trying to improve usage of ID4 and ID10 frames for gain so not much work was done on the SeekOFix.
I did not even begin with studying Flirs format. Will do my best to release new version soon but probably it won't have this feature yet.
It will have:
- start & stop streaming
- histogram
- temperatures in K, *F, *C
- ability to add your own color palettes
- big code cleanup

To save the file just check the "AutoSave" and every time you'll hear shutter click you will have a new image saved in folder c:\seek\
This is because the first image after calibration has the least noise.
« Last Edit: March 05, 2016, 11:18:16 pm by frenky »
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #30 on: March 14, 2016, 09:43:19 am »
There are a lot of smart people here and I need your help. ;)

This values were taken while pointing Seek to uniform thermal plate.

Columns:
ID4 - values of gain? pixels which never change; (avg=3950)
gain - calculated gain (ID4/avgID4)
ID10 - values of gain? pixels which never change
ID1 - calibration frame, this is thermal image of shutter;  (avg=7700)
ID3_25C - image of uniform thermal plate at 25*C (77*F); (avg=7400)
ID3_75C - image of uniform thermal plate at 25*C (167*F);(avg=9500)
diff - subtracted: ID3_75C-ID3_25C (should be 2900)



So in ideal world all ID3_25C values would be 7400 and all ID3_75C would be 9500.
Difference would be 2900 which corresponds to 50*C (90*F).

What needs to be accomplished is:

1. How to use ID4, ID10, ID1, to fix values ID3_25C so that all are 7400.
The same algorithm should also work for fixing ID3_75C so that all values are 9500.


2. How to use ID4, ID10, ID3_25C, to fix values ID3_75C so that all are 9500.
Or how to use the same columns for fixing difference ID3_75C - ID3_25C so that all diff values would be 2900.

Tnx! :)

P.S.
CSV file is in the attachment.
 

Offline mangler

  • Contributor
  • Posts: 6
  • Country: ca
Re: SeekOFix - new windows software for SeekThermal
« Reply #31 on: March 28, 2016, 04:56:13 pm »
You could make a USB OTG cable yourself. Just make sure you connect sense pin to the ground.
This way you don't have to worry about socket orientation on the tablet.


For people who don't want to mess around with DIY you can buy this to reverse the socket. Expensive but I can't seem to find a cheaper source...

http://www.amazon.com/YCS-Basics-reversed-Female-adapter/dp/B0141Q9OGO/ref=pd_sim_421_2?ie=UTF8&dpID=3198XGtWpeL&dpSrc=sims&preST=_AC_UL160_SR132%2C160_&refRID=1HB71E3D5SMG6PK200S5
 

Offline Ben321

  • Frequent Contributor
  • **
  • Posts: 506
Re: SeekOFix - new windows software for SeekThermal
« Reply #32 on: March 28, 2016, 10:16:10 pm »
Cool. Now how about instead of posting the source code, post the latest compiled EXE file. I may some day eventually get a Seek thermal imager, and when I do I don't want to be stuck compiling the software myself. I don't even think I have the right version of Visual Studio to compile this. And by the way, PLEASE don't use .net for it. Please write a non.net version, for those that don't have the particular version of .net required by this program. I HATE programs that use .net instead of being plain old Windows EXE files. If you don't happen to have the correct version of .net, you need to download it and install it, and that total process of downloading and installing it takes about 1 to 2 HOURS.

It may be that .net is the latest "cool" thing in writing Windows software, but it also requires the MASSIVE .net framework, making it an overbloated way of writing software. Unlike most programmers out there, I have NOT jumped on the .net bandwagon. When I write my own software, it's plain old Windows software. I usually use VB6 for the majority of the programming, and if there's a feature that VB6 doesn't have that I need in my program (such as the atan2 function that C and C++ has, but VB6 doesn't) I will then use VC++ 2010 to write a plain old DLL file (nothing that requires .net) that wraps the required C or C++ functionality (such as the atan2 function) in a function that is exported by the DLL file, so that it is accessible to VB6. That's as a software writer.

As a software consumer, I usually will avoid LIKE THE PLAGUE any software that requires .net because I don't want to possibly have to spend 1 or 2 hours downloading and installing the latest version of .net, or an older version (yep that's right, the latest version doesn't have everything the older versions did, so if you have a program that depends on an older version of the framework, you actually have to go back and download an OLDER version of .net, and if it's too old MS might not even supply a download for such an older version of .net anymore).

So for the love of all that is good, PLEASE rewrite this software in a way that doesn't require .net, and PLEASE include the compiled EXE, not just the source code.
« Last Edit: March 28, 2016, 10:19:18 pm by Ben321 »
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #33 on: March 28, 2016, 11:32:28 pm »
@Ben321, are you volunteering?

The framework came originally from sgstair and evolved to what it is now after several people contributed, maybe you can be the one that contributes a non .Net and make it cross platform while you are at it ;)
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #34 on: March 29, 2016, 12:08:02 am »
Cool. Now how about instead of posting the source code, post the latest compiled EXE file.

Will do that in my next release...

It may be that .net is the latest "cool" thing in writing Windows software, but it also requires the MASSIVE .net framework, making it an overbloated way of writing software.

I've been writing .net apps at work for the last 10 years so it's hardly the "latest cool" thing.

If you don't happen to have the correct version of .net, you need to download it and install it, and that total process of downloading and installing it takes about 1 to 2 HOURS.
On dial-up perhaps?  Client Profile verisons are about 40MB and it takes another 5min on regular pc to install... And the latest .net 4.5 is 50MB (complete version).

So for the love of all that is good, PLEASE rewrite this software in a way that doesn't require .net

Well sadly that is not going to happen.
I have completely rewritten my app in the last couple of weeks but it's still in .net because it's what I'm familiar with.

When I decide that SeekOFix is stable enough to be usable I'll add export to Flir .fff format and stop with development because I'd like to focus on the hardware improvements.

I encourage everyone with programming skills to write better app for seek. For start just use the logic below and remove noise (on patent & dead pixels):

Code: [Select]
//get gain of each pixel:
gainCalArr[i] = avgID4 /arrID4[i]

//subtract frames and apply gain to diff:
currentFrame[i] = (arrID3[i] - arrID1[i]) * gainCalArr[i] + 7000;
 

Offline efahrenholz

  • Regular Contributor
  • *
  • Posts: 188
Re: SeekOFix - new windows software for SeekThermal
« Reply #35 on: March 29, 2016, 12:27:32 am »
Cool. Now how about instead of posting the source code, post the latest compiled EXE file. I may some day eventually get a Seek thermal imager, and when I do I don't want to be stuck compiling the software myself. I don't even think I have the right version of Visual Studio to compile this. And by the way, PLEASE don't use .net for it. Please write a non.net version, for those that don't have the particular version of .net required by this program. I HATE programs that use .net instead of being plain old Windows EXE files. If you don't happen to have the correct version of .net, you need to download it and install it, and that total process of downloading and installing it takes about 1 to 2 HOURS.

It may be that .net is the latest "cool" thing in writing Windows software, but it also requires the MASSIVE .net framework, making it an overbloated way of writing software. Unlike most programmers out there, I have NOT jumped on the .net bandwagon. When I write my own software, it's plain old Windows software. I usually use VB6 for the majority of the programming, and if there's a feature that VB6 doesn't have that I need in my program (such as the atan2 function that C and C++ has, but VB6 doesn't) I will then use VC++ 2010 to write a plain old DLL file (nothing that requires .net) that wraps the required C or C++ functionality (such as the atan2 function) in a function that is exported by the DLL file, so that it is accessible to VB6. That's as a software writer.

As a software consumer, I usually will avoid LIKE THE PLAGUE any software that requires .net because I don't want to possibly have to spend 1 or 2 hours downloading and installing the latest version of .net, or an older version (yep that's right, the latest version doesn't have everything the older versions did, so if you have a program that depends on an older version of the framework, you actually have to go back and download an OLDER version of .net, and if it's too old MS might not even supply a download for such an older version of .net anymore).

So for the love of all that is good, PLEASE rewrite this software in a way that doesn't require .net, and PLEASE include the compiled EXE, not just the source code.

Someone worked hard and gave you the source. You claim to be a software developer and yet you can't rewrite it yourself? What's the problem, you don't have the time or the interest? Maybe it's because you are spending all your time bitching about having to compile the source yourself. For the love of all programmers everywhere, get with the times, and give the guy a break.
 
The following users thanked this post: Kilrah

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #36 on: April 08, 2016, 07:31:40 pm »
Hi guys. Finally new version...  :D

On the outside it does not look much different but the code is much better (lightweight & easier to understand).

New features:
- color palettes (you can add your own gradients in folder "palette" it should be png 1001px wide; 24BBP)
- temperature in K, *C, *F (Temperature is not accurate. I still need to calibrate my seek better. But difference in temperatures should be close enough...)
- execution time of single frame manipulation went down to approx 20ms so it should work better on old PCs.
- live histogram (it's not pretty but it gives you some insight)
- start/stop streaming
- vertical color palette with min/max temp

To-do:
- add averaging of x number of frames for cleaner still images
- improve external calibration so that image does not degrade so quickly with time
- implement Flir .fff file export (I did take a quick look at it and it will take some time to implement)
- fix sharpening (it looks worse than it used to)

SeekOFix v0.4:



EDIT:
There was a bug in external calibration. I reuploaded files.
« Last Edit: April 08, 2016, 08:13:14 pm by frenky »
 
The following users thanked this post: miguelvp, santasemilla

Offline IwuzBornanerd

  • Frequent Contributor
  • **
  • Posts: 275
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #37 on: April 13, 2016, 07:08:48 pm »
There are a lot of smart people here and I need your help. ;)

This values were taken while pointing Seek to uniform thermal plate.

Columns:
ID4 - values of gain? pixels which never change; (avg=3950)
gain - calculated gain (ID4/avgID4)
ID10 - values of gain? pixels which never change
ID1 - calibration frame, this is thermal image of shutter;  (avg=7700)
ID3_25C - image of uniform thermal plate at 25*C (77*F); (avg=7400)
ID3_75C - image of uniform thermal plate at 25*C (167*F);(avg=9500)
diff - subtracted: ID3_75C-ID3_25C (should be 2900)


So in ideal world all ID3_25C values would be 7400 and all ID3_75C would be 9500.
Difference would be 2900 which corresponds to 50*C (90*F).

What needs to be accomplished is:

1. How to use ID4, ID10, ID1, to fix values ID3_25C so that all are 7400.
The same algorithm should also work for fixing ID3_75C so that all values are 9500.


2. How to use ID4, ID10, ID3_25C, to fix values ID3_75C so that all are 9500.
Or how to use the same columns for fixing difference ID3_75C - ID3_25C so that all diff values would be 2900.

Tnx! :)

P.S.
CSV file is in the attachment.


I'm surprised to see such a variation in values of these correction frames from camera to camera.  My frameID10 values are all between 30 & 112 and my fremeID4 values are centered around 2000 +/-a few hundred.  If I define diff = fremeID3pixel - frameID1pixel, then scaling each pixel by the percentage from fremeID10 (as in 100*diff/frameID10pixel) essentially eliminates the "fixed pattern noise".  I figured that since the starting value of the curve in my frameID9 is 2000 that the values in frameID4 were probably individual pixel starting values for that curve, but when I used them in that manner they made a huge mess unless I scaled the delta from 2000 by the values in frameID10.  And when I did that I didn't see any useful change in the image.  If I normalize all the values in my frameID4 to 2000 I get values that are off from those in frameID10 by anywhere from 1% to 6%.  The values in my frameID7 are all near the high end of the 14 bit range so I suspect they are negative numbers.

My frameID10 has a complete row of 0's at about the 38th row.  FrameID4 and frameID7 have that same row of 0's, which makes me believe all 3 are correction data, but I have yet to find a way to utilize the other 2 to improve the image.

I never see any mention of frameID9 on here; don't other cameras have a curve in frameID9?
I am not opposed to exercise, unless it is an exercise in futility.
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5549
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #38 on: April 13, 2016, 08:10:28 pm »
I never see any mention of frameID9 on here; don't other cameras have a curve in frameID9?

These are my thoughts for frame ID 9 when I first encountered it:
https://www.eevblog.com/forum/thermal-imaging/yet-another-cheap-thermal-imager-incoming/msg545910/#msg545910

Quote
Frame 2 (ID 9) is a bit bizarre, because it shows a nice gradient, like if during boot the chip shows that the memory is writable and is just to make sure it can be read. It's pretty smooth with no dead pixels (other than pixel 10) and maybe some others that I can't see. the original range goes from [2000 to 16383] (both included) it didn't translate well to 8 bits. Maybe that's the actual sensor range for raw data, not sure. Also it might be the firmware that outputs the gradient, doesn't have to do anything with the sensor for all we know.


I still think it must represent the range of sensor values but didn't look more into it since then.

Note that the image attached is clamped to 8 bits, I think the gradient is continuous in 16 bits without the wrap around shown on my attempt to include the image.

« Last Edit: April 13, 2016, 08:12:54 pm by miguelvp »
 

Offline IwuzBornanerd

  • Frequent Contributor
  • **
  • Posts: 275
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #39 on: April 14, 2016, 05:18:16 am »
I never see any mention of frameID9 on here; don't other cameras have a curve in frameID9?

I still think it must represent the range of sensor values but didn't look more into it since then.


I agree, which is why I thought there would be more talk about it on these Seek threads, but I guess the discussion has focused on cleaning up the image rather than determining the temperature.  I did see someone pose the question as to how to get temperature, though.

You should have your software write the 16 bit values to a text list file, plot it and see if it looks like the attached file (assuming that works; my first try here).

I am not opposed to exercise, unless it is an exercise in futility.
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #40 on: April 14, 2016, 07:44:13 am »
I believe you mean that someone should capture raw values while pointing seek to a black body with adjustable temperature?

I would be happy to do that if I had such a device... but sadly I don't and I can't spend 800$ on a hobby...



In the attachement is ID9 frame from my seek...

Values go from 1990-13320 and 15240-16020.
 

Offline IwuzBornanerd

  • Frequent Contributor
  • **
  • Posts: 275
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #41 on: April 14, 2016, 06:24:59 pm »
I believe you mean that someone should capture raw values while pointing seek to a black body with adjustable temperature?


No, actually what I mean is that you don't need to do that because you have the normalized thermistor curve in frameID9. ;D  And if you write the 16 bit values to  a list file & plot them against pixel number you will see that, as in the image I posted above.  The curve is repeated twice.

I'm wondering if this topic should be carried to the "How to correct..." thread; I originally posted on this one because it had the most recent activity & I was responding to an earlier frenky post here.  There is more to say...
I am not opposed to exercise, unless it is an exercise in futility.
 

Offline eternalone

  • Contributor
  • Posts: 30
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #42 on: June 12, 2016, 12:15:06 am »
Hiya! Just registered to say great job on this software. Big improvement for the seek. Ive added 20 different palettes for a variety of color choices. Ive had right knee problems for 20 years...this allows me to see the pain.  :-+

 The android software was real crap. Love the external calibration and manual exposure. And thanks for whipping up an EXE version, i dont know how to compile one.
 Keep up the great work and hope an update version is coming soon. :clap:

 heres some pics from my seek on my windows tablet....I enlarged them to 640x480

 

Offline eternalone

  • Contributor
  • Posts: 30
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #43 on: June 12, 2016, 12:26:12 am »
couple more pics...
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #44 on: June 12, 2016, 06:40:26 am »
Thank you for sharing your experience with my software. It really boosts my motivation to continue development... :-+
« Last Edit: June 12, 2016, 11:28:01 am by frenky »
 

Offline Kevin11

  • Newbie
  • Posts: 2
  • Country: tw
Re: SeekOFix - new windows software for SeekThermal
« Reply #45 on: June 15, 2016, 04:21:36 pm »
hello,
I am a beginner in seek thermal.
I am interested that it is possible to do some image processing(foreground detection or else) with seek thermal?
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #46 on: June 15, 2016, 07:02:04 pm »
Anything is possible if you know how to code...
 

Offline efahrenholz

  • Regular Contributor
  • *
  • Posts: 188
Re: SeekOFix - new windows software for SeekThermal
« Reply #47 on: June 16, 2016, 04:44:29 pm »
What's crazy is Seek already has a particular signature look, completely different from FLIR. I've noticed from some recent photos that the image quality has improved quite a bit, looks a lot smoother. Did they remove the speckled noise from hard contrast lines or something?
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #48 on: June 16, 2016, 08:18:27 pm »
On the settings->image settings-> image smothing you can turn off this enhancement ;)
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 330
  • Country: de
    • Joe-c.de
Re: SeekOFix - new windows software for SeekThermal
« Reply #49 on: June 17, 2016, 03:46:33 am »
I believe it is only a median filter.  8)
FLIR E4 hardware mods 
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Freeware Remote Software for some FLIR Cameras: Ex Tools
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2177
  • Country: 00
 

Offline eternalone

  • Contributor
  • Posts: 30
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #51 on: June 25, 2016, 09:19:02 pm »
who me? yes...used on my windows 10 tablet with frenkys seek software.

A external calibration with something at ambient temperature gives me the best pic....usually a plastic material. Then ill do exposure on a not so warm object, usually on my shoe, and switch to manual exposure. depends on the heat source i want to find.
 

Offline eternalone

  • Contributor
  • Posts: 30
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #52 on: June 25, 2016, 10:22:45 pm »
heres one the more crazy palletes i made for it...
 
can lights at gfs house seem to be lacking in insulation, as well as the top part of window. Theres a window ac cooling the lower part of image. Two cats and a wall outlet in the lower left corner.
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2177
  • Country: 00
Re: SeekOFix - new windows software for SeekThermal
« Reply #53 on: June 26, 2016, 06:26:26 am »
My is seek is the one with apple connector, Can "run this siftware with a "special wiring ?
 

Offline eternalone

  • Contributor
  • Posts: 30
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #54 on: June 26, 2016, 04:05:45 pm »
ummmmmmm..dunno. maybe try to splice something together? The only apple product i own is an old ipod touch and i havent touched it in eons. Perhaps amazon has a wire that changes it to usb or micro usb.

Ill look after i do the days chores and report my findings. if you do get it working youll like this different software. really breathes some new life into a regular old seek. :popcorn:..lots of manual control over everything. :-DMM :-+
 

Offline eternalone

  • Contributor
  • Posts: 30
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #55 on: June 26, 2016, 04:11:56 pm »
oh... i dont know if its because windows is 100x more powerful than android....but the framerate of my seek is outta this world now. no more jerky cars driving past or laggy movements when you pan around or choppy streaming....smooth as buttermilk.
 

Offline eternalone

  • Contributor
  • Posts: 30
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #56 on: June 26, 2016, 04:40:30 pm »
I have an adapter that changes the seek micro usb to a full sized usb. Then that goes into an otg/charging hub. Then the hub goes into the tablets micro usb port.
 

Offline joe-c

  • Frequent Contributor
  • **
  • Posts: 330
  • Country: de
    • Joe-c.de
Re: SeekOFix - new windows software for SeekThermal
« Reply #57 on: June 26, 2016, 07:02:01 pm »
My is seek is the one with apple connector, Can "run this siftware with a "special wiring ?

Yes, but i don't know the wiring. but if you open the device, you can use the 5 Pin connector inside (2x GND) to solder USB directly.
i make this with android device and iOS device, and i cant see a difference on board level.
Only the Flex and connector is different, see X-Ray images:
https://www.eevblog.com/forum/thermal-imaging/freeware-software-for-thermal-analysis-thermovision_joec/msg949565/#msg949565
FLIR E4 hardware mods 
Freeware Thermal Analysis Software: ThermoVision_Joe-C
Freeware Remote Software for some FLIR Cameras: Ex Tools
 

Offline Trax

  • Regular Contributor
  • *
  • Posts: 119
  • Country: at
Re: SeekOFix - new windows software for SeekThermal
« Reply #58 on: December 07, 2016, 07:36:27 am »
is anyone still working on this software?

does it support the new seek compact ff model as well?
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #59 on: December 07, 2016, 08:16:08 am »
I stopped the development of SeekOFix because my SeekThermal module died...
I've put code on github: https://github.com/frenkinet/SeekOFix
If anyone wants to continue developing new features I will be more than happy. :D

P.S.
joe-c is still developing for SeekThemal modules. And his app has a lot more features:
https://www.eevblog.com/forum/thermal-imaging/freeware-software-for-thermal-analysis-thermovision_joec/
« Last Edit: December 07, 2016, 08:44:40 am by frenky »
 

Offline Uho

  • Regular Contributor
  • *
  • Posts: 241
  • Country: ua
Re: SeekOFix - new windows software for SeekThermal
« Reply #60 on: December 13, 2016, 07:12:13 pm »
Hi. You know what is broken in the module? I have a little experience repair module. I have twice had a failure of the module. Changed optics. Changed the processor. Changed the security chip USB
 

Offline KrisMcLean

  • Contributor
  • Posts: 5
  • Country: au
Re: SeekOFix - new windows software for SeekThermal
« Reply #61 on: November 04, 2017, 12:51:28 pm »
Trying to get the windows .exe software from April to run. It crashes complaining about a missing system.io file. Compiling C is beyond my pay grade so grateful if someone has any clues?
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #62 on: November 05, 2017, 09:17:12 am »
Do you have .net framework installed?

Compiling it from source is really easy. Install VS Community edition: https://www.visualstudio.com/vs/community/
Download all the code: https://github.com/frenkinet/SeekOFix
Open file SeekOFix.sln and click Run button in top toolbar.
 

Offline scelestus13

  • Contributor
  • Posts: 6
  • Country: us
Re: SeekOFix - new windows software for SeekThermal
« Reply #63 on: February 20, 2018, 07:49:27 am »
This software has been absolutely invaluable to me! Thank you so much for putting this together! One question I have; the arrays are 32448 long; this doesn't really make sense to me. Is there checksum somewhere making it greater than 206 X 156? Where is this? Ultimately, I'm trying to make a graph showing the average of each column so I need to figure out what part(s) of the array to cut out!
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #64 on: February 20, 2018, 08:19:08 am »
Tnx. :)

Sensor is outputting 208x156 data. But last two columns are not thermal image data.
(Not sure if we have found out what is in last two columns.)

 
The following users thanked this post: scelestus13

Offline berider

  • Newbie
  • Posts: 2
  • Country: cn
Re: SeekOFix - new windows software for SeekThermal
« Reply #65 on: April 10, 2018, 03:57:31 pm »
Can SeekOFix be used on Seek CompactPRO?
 

Offline berider

  • Newbie
  • Posts: 2
  • Country: cn
Re: SeekOFix - new windows software for SeekThermal
« Reply #66 on: April 11, 2018, 12:47:33 pm »
cannot find the driver for seek, how to do ?
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #67 on: April 11, 2018, 01:14:05 pm »
It probubly does not work with Pro version because of different resolution.

Use Zadig to install the winusb driver on the "iAP Interface" device that enumerates when you plug it in.
http://zadig.akeo.ie/
 
The following users thanked this post: berider

Offline djdblaster

  • Newbie
  • Posts: 1
  • Country: de
Re: SeekOFix - new windows software for SeekThermal
« Reply #68 on: December 24, 2018, 10:22:09 am »
Hello,

I'd like to connect Seek Compact Pro to PC. Got the USB cable, connected through one of the ports on the back and PC says I need more power out of the USB to drive the camera. I don't have a motherboard with an extra power USB slot.

But all in all, is it possible to make this camera work with PC?
 

Offline 7gone

  • Newbie
  • Posts: 2
  • Country: lt
Re: SeekOFix - new windows software for SeekThermal
« Reply #69 on: January 17, 2019, 07:01:31 pm »
Yes I want it to to connect Seek Compact Pro to pc:) someone knows how?
 

Offline cq-317

  • Contributor
  • Posts: 38
  • Country: cn
Re: SeekOFix - new windows software for SeekThermal
« Reply #70 on: February 07, 2019, 02:58:54 am »
The effect is awesome and the image is enhanced?
 

Offline msalgado

  • Newbie
  • Posts: 1
  • Country: pe
Re: SeekOFix - new windows software for SeekThermal
« Reply #71 on: October 12, 2020, 10:21:39 pm »
Yes, I bought a 5 mt usb cable with power supply and I managed to connect the camera, what I can't do is make it work with the new Seek CompactPro using SeekoFix, did someone update the code?
Thanks
 

Offline frenky

  • Supporter
  • ****
  • Posts: 972
  • Country: si
    • Frenki.net
Re: SeekOFix - new windows software for SeekThermal
« Reply #72 on: October 13, 2020, 06:56:04 am »
I haven't because I don't have it. ( And after I got ThermalExpert Q1 I never wanted to see Seeks noise again... :P )
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf