Stories
Slash Boxes
Comments

SoylentNews is people

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: 2) by DannyB on Tuesday October 01 2019, @02:03PM

    by DannyB (5839) Subscriber Badge on Tuesday October 01 2019, @02:03PM (#901279) Journal

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

    Take an IR image with the sensor. Open it in GIMP. Clean it up to look like what you want. Save that. Start with a random kernel. Use a genetic algorithm to evolve a kernel's magic numbers such that this kernel will clean up the original image into something close what you saved from GIMP. Use that as your kernel since it works very good in the rare case when the sensor captures this very specific image.

    In order to not spend a lot of time on the code that generats this kernel, use a higher order language for this one-off program. (Python, Lisp, Node.js, etc)

    SN feature request: <sarcasm> tags need a parameter to indicate the level of sarc, such as <sarcasm level="11">

    --
    The lower I set my standards the more accomplishments I have.
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2