Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Formulas  





2 References  





3 See also  














YJK







Add links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Cropped and zoomed comparison between the original true color image (left) and the YJK (right) version.

YJK[1][2][3] is a proprietary color space implemented by the Yamaha V9958[4][5][6] graphic chip on MSX2+ computers.[7][8] It has the advantage of encoding images by implementing less resolution for color information than for brightness, taking advantage of the human visual systems' lower acuity for color differences.[9] This saves memory, transmission and computing power.

YJK converted image

YJK is composed of three components: , and . is similar to luminance (but computed differently), and are the chrominance components (representing the red and green color differences). The component is a 5-bit value (0 to 31), specified for each individual pixel.

Original full color image

The and components are stored together in 6 bits (-32 to 31) and shared between 4 nearby pixels (4:2:0 chroma sub-sampling).[10][11][12]

This arrangement allows for the encoding of 19,268 different colors.[10][11][12]

While conceptually similar to YUV, chroma sampling, numerical relationship between the components, and transformation to and from RGB are different in YJK.

Formulas[edit]

The three component signals are created from an original RGB (red, green and blue) source. The weighted values of , and are added together to produce a single signal, representing the overall brightness of that pixel. The signal is then created by subtracting the from the red signal of the original RGB, and then scaling; and by subtracting the from the green, and then scaling by a different factor.

These formulae approximate the conversion between the RGB color space and YJK:[7]

From RGB to YJK:

From YJK to RGB:

You may note that the component of YJK is not true luminance, since the green component has less weight than the blue component.[13] Also, contrary to YUV where chrominance is based on Red-Blue differences, on YJK its calculated based on Red-Green differences.[10]

References[edit]

  1. ^ MSX Licensing Corporation (2022). "The YJK screen modes". MSX Assembly Page.
  • ^ Niemietz, Ricardo Cancho (2014). Issues on YJK colour model implemented in Yamaha V9958 VDP chip (PDF).
  • ^ "VCFe Vortrag vom 2016.04.30 - Homecomputer und Spielkonsolen - Videoarchitekturen als visuelles Medium". neil.franklin.ch. Retrieved 2022-11-13.
  • ^ IC Master. United Technical Publications. 2001.
  • ^ Martín Sesma, Sergio (2016-10-03). Arqueología informática: los ordenadores MSX en los inicios de la microinformática doméstica (Proyecto/Trabajo fin de carrera/grado thesis). Universitat Politècnica de València.
  • ^ Redazione (2008-10-20). "MSX - Vari Costruttori- 1983". CyberLudus.com (in Italian). Retrieved 2022-11-13.
  • ^ a b "V9958 MSX-VIDEO TECHNICAL DATA BOOK" (PDF). 1988.
  • ^ Alex, Wulms (1995). "Schermen op MSX - De 2+ schermen" (PDF). MSX Computer & Club Magazine (72).
  • ^ S. Winkler, C. J. van den Branden Lambrecht, and M. Kunt (2001). "Vision and Video: Models and Applications". In Christian J. van den Branden Lambrecht (ed.). Vision models and applications to image and video processing. Springer. p. 209. ISBN 978-0-7923-7422-0.{{cite book}}: CS1 maint: multiple names: authors list (link)
  • ^ a b c "The YJK screen modes". map.grauw.nl.
  • ^ a b Silveira, Marcelo (2017). MSX 2+ Colors (PDF).
  • ^ a b Nunes, Giovanni (8 June 2015). "Edição de imagens num MSX2+/MSX turbo R". retropolis.com.br.
  • ^ Chancho Niemietz, Ricardo (2014). "Issues on YJK colour model implemented in Yamaha V9958 VDP chip" (PDF).
  • See also[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=YJK&oldid=1209371582"

    Categories: 
    Color space
    MSX hardware
    Hidden categories: 
    CS1 Italian-language sources (it)
    CS1 maint: multiple names: authors list
    Articles with short description
    Short description matches Wikidata
     



    This page was last edited on 21 February 2024, at 16:09 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki