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: 1, Funny) by Anonymous Coward on Tuesday October 01 2019, @12:03PM

    by Anonymous Coward on Tuesday October 01 2019, @12:03PM (#901238)

    don't start your loop at 1 and end with a < test. You're either 0-based (please!) or 1-based (please not!), but never a mix of the two.

    for (i=-1; ++i < LOOP_MAX;) { ... }

    Starting Score:    0  points
    Moderation   +1  
       Funny=1, Total=1
    Extra 'Funny' Modifier   0  

    Total Score:   1