Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 9 submissions in the queue.
posted by Fnord666 on Tuesday October 01 2019, @03:28AM   Printer-friendly
from the making-it-up dept.

Arthur T Knackerbracket has found the following story:

Under the right circumstances, Gaussian blurring can make an image seem more clearly defined. [DZL] demonstrates exactly this with a lightweight and compact Gaussian interpolation routine to make the low-resolution thermal sensor data display much better on a small OLED.

[...] used an MLX90640 sensor to create a DIY thermal imager with a small OLED display, but since the sensor is relatively low-resolution at 32×24, displaying the data directly looks awfully blocky. Gaussian interpolation to improve the display looks really good, but it turns out that the full Gaussian interpolation isn’t a trivial calculation write on your own. Since [DZL] wanted to implement it on a microcontroller, the lightweight implementation was born. The project page walks through the details of Gaussian interpolation and how some effective shortcuts were made, so be sure to give it a look.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Informative) by janrinok on Tuesday October 01 2019, @08:10AM

    by janrinok (52) Subscriber Badge on Tuesday October 01 2019, @08:10AM (#901183) Journal

    Also - the formula used to generate the kernel weights would be nice - how can I know they are correct?

    Well the article does show how they were calculated [theomader.com] but it is true that the formula is not published directly. He does, however, also reference each of the sources for the formulae on this link too.

    nothing requiring C++ and the use of a class. Why the heck would you not use good old-fashioned C for this?

    The Arduino IDE is C++ based - he used what he had for coding on an Arduino board. Doesn't seem too unreasonable to me. After all, one usually starts with Arduino programming by blinking LEDs and similar simple circuits - none of which needs C++, but that is what everybody uses. The majority of Arduino libraries (including the one for the IC under discussion) are C++ based too.

    Starting Score:    1  point
    Moderation   +1  
       Informative=1, Total=1
    Extra 'Informative' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3