HP Forums
Prime pix & tutorial on avoiding streaks - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Prime pix & tutorial on avoiding streaks (/thread-369.html)



Prime pix & tutorial on avoiding streaks - Joe Horn - 01-08-2014 07:56 PM

I enjoy showing off my HP Prime displaying full-screen images, such as these:

[Image: SaturnOnPrime.jpg] [Image: HylelynOnPrime.jpg]

For those who like doing the same, I've uploaded a gallery of 138 good 320×240 images, along with all the HPPRGM programs which display them on the Prime.

Prime often displays ugly streaks in areas that should be smooth. I've also uploaded a tutorial about what causes these streaks and how to avoid them.

Enjoy!


RE: Prime pix & tutorial on avoiding streaks - Han - 01-08-2014 08:00 PM

Great gallery and very informative regarding streaks. Thanks for sharing!


RE: Prime pix & tutorial on avoiding streaks - Tim Wessman - 01-08-2014 09:34 PM

To whom does that "touchably smooth knee" belong? ;-)


RE: Prime pix & tutorial on avoiding streaks - Joe Horn - 01-08-2014 11:17 PM

(01-08-2014 09:34 PM)Tim Wessman Wrote:  To whom does that "touchably smooth knee" belong? ;-)

I wish I knew. [Image: whistle.gif]


RE: Prime pix & tutorial on avoiding streaks - Eddie W. Shore - 01-09-2014 02:48 PM

Amazing pics Joe! I got to try this myself.


RE: Prime pix & tutorial on avoiding streaks - Jim Horn - 01-11-2014 12:27 AM

The banding is related to Mach Bands (not a musical group) as has been dealt with in computer graphics since the stone age. Great examples!


RE: Prime pix & tutorial on avoiding streaks - eried - 01-11-2014 12:53 AM

Very nice gallery. I am impressed how noticeable is this bit limitation in the Sky/Pacific sea image you show as example in your webpage. Now the question is if this is a limitation in DIMGROB_P or in the calculator 'graphical system' (PIXEL_P accepts 8 bit R,G,B values).

I tried to improve that sea image via code without success (to get an automated conversion rather than using an editor, then the image converter, then sending the code), probably the image editor is doing something a bit more advanced than simple dithering.

I added all the dithering options Windows GDI+ v1.1 provides (Vista or newer) related to ARGB1555 conversions to my little app, but the result is usually better doing your process with the image editor (... in other hand, sometimes it's good to have 1 click away images Big Grin ):
[Image: Image%202014-01-10%20at%209.36.04%20PM.png]


RE: Prime pix & tutorial on avoiding streaks - Eddie W. Shore - 01-12-2014 10:59 PM

Saving the picture in PNG does wonders. How many pictures are we able to store on the calculator?

[attachment=163]

These are my dogs (my family's dogs): Molly is on the left, Lilly is one the right.

[attachment=164]


RE: Prime pix & tutorial on avoiding streaks - eried - 01-13-2014 01:00 AM

(01-12-2014 10:59 PM)Eddie W. Shore Wrote:  How many pictures are we able to store on the calculator?

After a couple my calc get unresponsive and it reboots, around 12-15 but in theory calculator has 256 MB of flash, with about 100-150 MB free to hold ~120 (320x240 dimgrobbed) images.


RE: Prime pix & tutorial on avoiding streaks - Mic - 01-13-2014 05:44 AM

Nice pics.


RE: Prime pix & tutorial on avoiding streaks - cyrille de brébisson - 01-17-2014 09:13 AM

Hello

(01-11-2014 12:53 AM)eried Wrote:  Very nice gallery. I am impressed how noticeable is this bit limitation in the Sky/Pacific sea image you show as example in your webpage. Now the question is if this is a limitation in DIMGROB_P or in the calculator 'graphical system' (PIXEL_P accepts 8 bit R,G,B values).

If you think about it, 32K colors sounds like a LOT!
however, if you are only playing on one color plane (let us say blue, for sky), and then only using a small band of it (like 50% of the possible choices because you do not go to full blue, no do you go to full white), with 5 bits, this leaves you with only 16 colors to play with... ie, 16 bands...

32K colors was chosen because:
- well, who needs more on a calculator (obviously, everyone!)
- It reduces memory use, in turn, this reduced RAM and CPU useage to manage the extra RAM. It also reduces power consumption as only 1/2 as much memory as a 16M color system would need to handle.

At the moment, graphic system, in Idle needs to process 320*240*2(bytes per pixel)*60(hz) bytes per second = 9MB!
moving to a true color would need 18MB of bandwidth per second...

Cyrille


RE: Prime pix & tutorial on avoiding streaks - Joe Horn - 05-12-2014 09:37 PM

[Image: CRTonPrime.jpg]

A new page (Page Zero) has been added to the Prime Pix gallery. These 24 fun new pix are dedicated to the brainiacs of MoHPC (that's YOU!). Enjoy!
http://holyjoe.net/Prime/Pix/page0.htm