MAMEWorld Central >> EmuChat
View all threads Index   Flat Mode Flat  

vio
MAME Fan
Reged: 09/30/14
Posts: 8
Send PM
sRGB color space added
11/28/16 02:18 PM Attachment: sample_output.7z 400 KB (1 downloads)


New feature: sRGB color space aware processing option has been added. You can switch to this mode in Settings tab.

All images we see on our computers today are encoded in sRGB color space. sRGB is said to have non-linear gamma. This issue is thoroughly explained in this page:
http://www.4p8.com/eric.brasseur/gamma.html

sRGB standard was created based on CRT behavior. Gamma function of sRGB is an outcome of electrical characteristics of a CRT pixel. A table from Mr. Brasseur's article is shown below.


A CRT pixel uses no power when showing black color, and max power when showing white. But for any given color in between, the power usage is unpredictable (non-linear).

There is a non-linear scanline brightness phenomena, which was discussed here:
http://eab.abime.net/showthread.php?t=63009

I suppose sRGB gamma and non-linear scanlines are related. The brightness of a CRT pixel could be proportional to its power usage.

Through gamma function of sRGB, we can calculate the "real" brightness of each pixel. Hopefully in this mode, non-linear scanline brightness will be simulated in a technically correct way.


To demonstrate this new mode, I added the "Full" preset to settings. In linear mode this preset means %100 scanline brightness. However in sRGB mode the result is like this:







Entire thread
Subject Posted by Posted on
* Dynamic Scanlines application vio 11/11/16 01:29 AM
. * Re: Dynamic Scanlines application Oomek  12/23/16 06:12 AM
. * Re: Dynamic Scanlines application vio  12/23/16 09:48 PM
. * sRGB color space added vio  11/28/16 02:18 PM
. * Re: Dynamic Scanlines application vio  11/11/16 01:47 PM
. * Re: Dynamic Scanlines application Jezze  11/13/16 02:21 PM
. * Your settings compared to.... Traso  11/29/16 09:27 AM
. * two posts for two images because I can't be bothered with registering with lame image sites..... Traso  11/29/16 09:28 AM
. * Re: Dynamic Scanlines application Traso  11/14/16 01:34 AM
. * Re: Dynamic Scanlines application Jezze  11/14/16 02:06 AM
. * Re: Dynamic Scanlines application Traso  11/15/16 06:24 PM
. * Re: Dynamic Scanlines application Jezze  11/15/16 08:22 PM
. * Re: Dynamic Scanlines application Traso  11/16/16 02:22 AM
. * Re: Dynamic Scanlines application Mr Ric  11/11/16 07:54 PM

Extra information Permissions
Moderator:  redk9258, URherenow, Tafoid 
1 registered and 36 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1800