Author Topic: Flir One Android App with full Lepton sensor resolution 160x120  (Read 59985 times)

0 Members and 2 Guests are viewing this topic.

Offline NathanFowler

  • Regular Contributor
  • *
  • Posts: 65
  • Country: us
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #75 on: July 14, 2016, 09:51:08 pm »
Stumbled across this today:

https://www.reddit.com/r/flirone/comments/4a7465/slow_rendering_ive_tweaked_the_flir_one_example/

http://developer.flir.com/forums/topic/samsung-s7-slow-and-glitchy-stock-app-why-also-a-kind-of-work-around/

Figured I'd share.  All the best and cheers.

Edit: Alternative link, and of course Thomas is there :)  Old news is exciting I guess... sorry for the thread noise.
« Last Edit: July 14, 2016, 09:55:05 pm by NathanFowler »
 

Offline tomas123Topic starter

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #76 on: July 15, 2016, 10:30:44 am »

http://developer.flir.com/forums/topic/samsung-s7-slow-and-glitchy-stock-app-why-also-a-kind-of-work-around/
...and of course Thomas is there :) 

yes, we are a flir one hacker community  ;)
It's the same Sarah, who wrote the review for Georgs App (see attachment)

P.S: I got no feedbacks about SR algorithm :(
(number of detected edges, max. offset of following images, count of stacked images, exponential moving average etc.).

Offline ChunkyPastaSauce

  • Supporter
  • ****
  • Posts: 539
  • Country: 00
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #77 on: July 16, 2016, 09:22:56 pm »
Unfortunately the SR don't improve the thermal sensitivity, but it works great on fine structures.
There are some SR parameters inside the algorithm, which are currently fixed values to simplify the use of the app (number of detected edges, max. offset of following images, count of stacked images, exponential moving average etc.).

I would be glad about comments on the SR ...

Looking at the image output image.... I bet you could pull out some more detail using traditional unsharpen masks, high pass filter or something else maybe in realtime. Deblurring probably would also work well (but I think is usually computationally expensive).
« Last Edit: July 16, 2016, 09:28:49 pm by ChunkyPastaSauce »
 

Offline tomas123Topic starter

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #78 on: July 17, 2016, 12:52:35 am »
There is already a gauss sharpen filter implemented.
If you set the gauss filter stronger (like on real images) then you get halos around structures with false thermal values.
(It's by design)

Offline tomas123Topic starter

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #79 on: July 19, 2016, 08:20:57 am »
A sample from a dishwasher.
All images are taken of the same position/distance.


original images from Georgs Thermal Camera+ App without post processing

"native Lepton Sensor Resolution 160x120" compared with "bilineare filtering and multiframe super resolution"  (minor differences from freehand shooting)





original Flir One MSX image shot with Flir One SDK (it's same image distance but Flir cropped the image to 120x90 sensor pixels) 



after removing MSX with Flir Tools for Android (Flir Tools reduces the image size  :( )


and now after opening the image with Flir Tools for PC (a postage stamp  |O):



Offline tomas123Topic starter

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #80 on: July 19, 2016, 02:22:41 pm »
next sample:
 
Georgs Thermal Camera+ App  160x120 vs. hacked Flir Ex 320x240

Lepton 160x120

Flir Ex 320x240

- shifted point of views, because the cameras have differents FOV (field of view)
- the Ex image is a Screenshot from Flir Tools because the original radiometric jpg is a stamp  :palm:

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 13388
  • Country: gb
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #81 on: July 19, 2016, 11:08:20 pm »
@Tomas123,

Thanks for the images.

I must say I am impressed with what can be achieved with the LEPTON 3 based FLIR ONE. The original FLIR app just does not do it justice.

Fraser
« Last Edit: July 20, 2016, 10:27:29 am by Fraser »
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 
The following users thanked this post: encryptededdy

Offline tomas123Topic starter

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #82 on: July 20, 2016, 09:51:29 am »
Flir is surely not interested in, to get all image capabilities from a 160x120 thermal camera in a 250USD price segment.

We know, that Flirs hardware costs for a 320x240 E8 are under 1000 USD (that is the price for E4 80x60) and Flir sells the E8 for 4000 USD.

Therefore the Flir One SDK with the 14 bit radiometric sensor values is a nice back door.

Offline frenky

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #83 on: July 20, 2016, 10:47:36 am »
You are getting really great images out of Lepton3 core...  :-+

I wonder if Peltier module could improve images even more.
On Seek it really makes a huge signal to noise improvement...

My Seek is dead again with the same blank screen and now I'm angry at myself for not buying Flir One when it was 175€ on amazon.co.uk. :-/O
 

Offline NathanFowler

  • Regular Contributor
  • *
  • Posts: 65
  • Country: us
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #84 on: July 21, 2016, 01:18:35 am »
Simply amazing quality!  I wish I were on Android, would either of you two (Georg/Tomas) consider developing a ported version to iOS, I am sure we could start a kickstarter campaign and I would happily donate $100 USD for such amazing work!
 

Offline tomas123Topic starter

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #85 on: July 22, 2016, 09:40:12 am »
The lepton sensor (lens) has a great sharpness, therefore we can make some great image enhancements.

But the NETD (noise equivalent differential temperature) is not so good as a hacked (!) Ex camera.

The Lepton Data Sheet give us a thermal sensitivity <50 mK, but see the difference:


The Ex image (on the left side ;D) is the original jpg size 240x320 OOC (out of camera) with the imprinted scale. Georgs temperature scale is outside the thermal image.

And believe me, I tried many software tricks to improve the NETD of the lepton sensor, but without noticeable success.
It seems, that Flir makes a great job with his own image post processing algorithmus (calculate RAW from sensor ADC values).
They are brand leaders with such small (=noisy) uncooled microbolometer without temperature stabilisation.

There is a heating element inside the Ex for temperature stabilisation, but this cost some battery power...

Offline tomas123Topic starter

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #86 on: July 22, 2016, 03:32:46 pm »
Georgs app also saved the (cropped) Flir radiometric jpg from the scene above.

Now we can see, how aggressive Flir denoise algorithm works:

Flir Tools for Android


same image saved with Flir Tools for PC (Flit Tools for PC change the palette, therfore we see more contrast)



after enlarging the denoised image, we see the well known denoise patterns

Offline Fraser

  • Super Contributor
  • ***
  • Posts: 13388
  • Country: gb
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #87 on: July 22, 2016, 03:33:15 pm »
Tomas123,

A minor correction. The E4 microbolometer is not actively temperature stabilised. It uses generic offset tables and the fact that the microbolometer self heats to a temperature equilibrium of around 30C

This where budget cameras often differ to more expensive models.

Fraser
If I have helped you please consider a donation : https://gofund.me/c86b0a2c
 

Offline tomas123Topic starter

  • Frequent Contributor
  • **
  • Posts: 832
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #88 on: July 22, 2016, 03:57:45 pm »
sorry, we discussed last year about this topic  :)

My E40 stabilize the microbolometer temperature also a hour after a simple shutoff (this standby mode for fast restart has also the Ex)
There is a red LED inside (visible trough the SD slot) which indicate this "heating".
After a hour in standby modus (camera off but red LED inside is on) the E40 immediately make correct measurements without a tilde (~24°C).
You say "self generated heat" and I think, there is heat source for faster reach the 30°C for correct measurements.

Certainly I am wrong, but it's so simple to implement  ...
We both now, there is no cooling ;-)

@Tomas123

Not exactly.... The microbolometer is not actively heated. The microbolometer generates its own internal heat as a result of the on die electronics (ROIC etc) this self generated heat normally raises the die temperature to approximately 30 Degrees C. I say approximately as there is no control over the temperature. It just settles at an equilibrium point but this could be 28C or 32C, it cannot be held stable.

The offset table was centred on 30degrees C as that is the natural operating temperature of the die at normal ambient temperatures of around 20 Degrees C.

The reason for the tilde symbol next to the temperature reading after start-up is that the microbolometer die will be at ambient and needs time for its die to rise in temperature to the equilibrium point of around 30C. Until it hits that equilibrium the readings are not considered accurate as the offset table is not able to compensate.

All of the above comes from direct discussions with FLIR  ;)

With regard to the power down sequence on the camera. The camera drops back to a low power standby mode that facilitates a fast start. After a period of time the camera drops back to the full sleep mode that consumes minimal power. It takes longer to start from sleep as it is a cold boot rather than a warm boot from standby. It's very much like modern laptop behaviour.

Aurora

Offline gansgar

  • Contributor
  • Posts: 37
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #89 on: September 03, 2016, 07:57:40 pm »
Hello community,

Flir has updated just recently their SDK with a great new feature: Flir One and Cat S60 support.
I updated today my app to the new SDK, but before I release it to the store I would like to test it with some real Cat S60 devices.

So I invite everybody to try out the beta.
https://play.google.com/apps/testing/georg.com.flironetest_01

Give me in this thread some feedback if it works or not.
Because the Cat S60 only has a Lepton sensor resolution of 80x60 some feedback through images would be nice. (screenshot and test-shot)

- George
 

Offline e_sousa

  • Contributor
  • Posts: 14
  • Country: pt
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #90 on: September 04, 2016, 11:25:32 am »
Thanks for adding s60 support.
The beta version doesn't seem to be working on my device though
It will either get stuck asking for the flir one to be connected or showing a all black image and crashing after a few seconds.
Also i can hear a click sometimes, not sure if it is the thermal camera shutter or the focus on the normal camera.

I hope i managed to install the correct version, in the settings it says "2.0.0 - 13 | release"
 

Offline gansgar

  • Contributor
  • Posts: 37
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #91 on: September 04, 2016, 11:55:49 am »
Thanks for adding s60 support.
The beta version doesn't seem to be working on my device though
It will either get stuck asking for the flir one to be connected or showing a all black image and crashing after a few seconds.
Also i can hear a click sometimes, not sure if it is the thermal camera shutter or the focus on the normal camera.

I hope i managed to install the correct version, in the settings it says "2.0.0 - 13 | release"

Could you look into the settings under the app informations. Under the tab permission is the camera one on or off? If off could you activate it and try it again? I'll fix that later but just to try it out.

Could you also tell me if you have a report button after the crash?? If yes please press it that helps me to understand the error in more detail.
« Last Edit: September 04, 2016, 12:04:18 pm by gansgar »
 

Offline e_sousa

  • Contributor
  • Posts: 14
  • Country: pt
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #92 on: September 04, 2016, 02:00:48 pm »
Camera permission is ok in android settings.
Only sometimes it shows the report button after crash, i tried a few times until it showed the button box and sent a report.
 

Offline gansgar

  • Contributor
  • Posts: 37
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #93 on: September 04, 2016, 04:14:50 pm »
Quote
Only sometimes it shows the report button after crash, i tried a few times until it showed the button box and sent a report.
I saw the error. The problem is that it's at a position I cannot get any useful error informations from, except that the error comes from the Flir SDK.
So I compiled the Flir example application from the SDK. The google drive link contains the apk, you should activate in the settings that you can install apps from unknown sources.
https://drive.google.com/file/d/0B1xrpkRXfbF0VmpCNXktMHBwQ2s/view?usp=sharing

And here is how you can activate unknown sources:
http://www.applivery.com/blog/android-unknown-sources/

If the example app runs I can compare it to my own code and find the error.
 

Offline e_sousa

  • Contributor
  • Posts: 14
  • Country: pt
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #94 on: September 04, 2016, 06:43:16 pm »
Quote
Only sometimes it shows the report button after crash, i tried a few times until it showed the button box and sent a report.
I saw the error. The problem is that it's at a position I cannot get any useful error informations from, except that the error comes from the Flir SDK.
So I compiled the Flir example application from the SDK. The google drive link contains the apk, you should activate in the settings that you can install apps from unknown sources.
https://drive.google.com/file/d/0B1xrpkRXfbF0VmpCNXktMHBwQ2s/view?usp=sharing

And here is how you can activate unknown sources:
http://www.applivery.com/blog/android-unknown-sources/

If the example app runs I can compare it to my own code and find the error.
I installed and played around a bit with the example app, it seems to work fine.
 

Offline gansgar

  • Contributor
  • Posts: 37
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #95 on: September 04, 2016, 07:13:39 pm »
Great thanks. That's a big step forward. I'll improve the app and throw out an update for all beta tester if think I fixed the problem.

- George
 

Offline e_sousa

  • Contributor
  • Posts: 14
  • Country: pt
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #96 on: September 04, 2016, 09:42:01 pm »
Happy to help, anything else you need just ask.
Keep up the good work.
 

Offline gansgar

  • Contributor
  • Posts: 37
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #97 on: September 05, 2016, 02:17:56 pm »
Okay. I just upload a new beta version. I essentially just changed one line in hope that the app crashed because I used an deprecated image format. But whatsover, we are currently just trying to figure out what is going wrong.

- George
 

Offline e_sousa

  • Contributor
  • Posts: 14
  • Country: pt
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #98 on: September 05, 2016, 08:49:59 pm »
It is working now, good job  :-+
I can post some sample shots later if it helps any.
 

Offline gansgar

  • Contributor
  • Posts: 37
  • Country: de
Re: Flir One Android App with full Lepton sensor resolution 160x120
« Reply #99 on: September 05, 2016, 08:53:09 pm »
The samples would be nice. I still don't know how my app reacts to 80x60 instead of the 160x120 from the Flir One.

And also: No problem. It's fun doing it

- George
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf