Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:20 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2 Colour Quandary

Author Message
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1097
Posted: 12:58am 01 Apr 2021
Copy link to clipboard 
Print this post

Hi

Back here I mentioned that my RGB(brown)'s were a lot redder. No comments were made so I just left it.

Just downloaded & installed b23 & results the same. Browns virtually indistinguishable from Red so RGB(Brown) is of no use to me.

What I did try was an RGB(ORANGE), which although not documented, gave me a sort of an orangey/browny colour, a bit darker than yellow.

So I changed all my COLOUR RGB(BROWN) statements to COLOUR RGB(ORANGE) & I'm back to where I was (almost) with colours a few months ago.  

(The the reason I tried RGB(ORANGE) was that I had
CONST ORANGE = RGB(255, 128, 1)
defined & inadvertently typed in COLOUR RGB(ORANGE) instead of COLOUR ORANGE & got a result).

Apart from the BROWN not being a Brown, I was wondering why RGB(ORANGE) works.

Brian.
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 01:57am 01 Apr 2021
Copy link to clipboard 
Print this post

  Chopperp said  Hi

Apart from the BROWN not being a Brown, I was wondering why RGB(ORANGE) works.

Brian.


There are a few colours that haven't made it into the manual yet.

Current colours are:
   #define BLACK               RGB(0,    0,      0,    0)
   #define BLUE                RGB(0,    0,      255,  15)
   #define GREEN               RGB(0,    255,    0,    15)
   #define CYAN                RGB(0,    255,    255,  15)
   #define RED                 RGB(255,  0,      0,    15)
   #define MAGENTA             RGB(255,  0,      192,  15)
   #define YELLOW              RGB(255,  255,    0,    15)
   #define BROWN               RGB(0xA5,   0x2a,   0x2a,   15)
   #define GRAY                RGB(64,   64,     64,   15)
   #define LITEGRAY            RGB(128,   128,     128,    15)
   #define WHITE               RGB(255,  255,    255,  15)
   #define ORANGE              RGB(0xff,   0xA5,   0,  15)
   #define PINK                RGB(0xFF,   0xA0,   0xAB,   15)
   #define GOLD                RGB(0xFF,   0xD7,   0x00,   15)
   #define SALMON              RGB(0xFA,   0x80,   0x72,   15)
   #define BEIGE               RGB(0xF5,   0xF5,   0xDC,   15)
   #define NOTBLACK            (VideoColour==8? RGB(0,32, 0,15): (VideoColour==12? RGB(16,16,16,15): RGB(0,4,0,15)))


The colours used seem to be taken from the HTML colour chart.
There are lots of different Browns and you can always roll your own to suit your monitor.
With 8 bit modes, the range of colours is limited. 16 bit gives a good differentiation

GREY or GRAY are the same and
LIGHTGRAY and LIGHTGREY both are LITEGRAY internally.

Jim
Edited 2021-04-01 12:28 by TassyJim
VK7JH
MMedit
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1097
Posted: 02:33am 01 Apr 2021
Copy link to clipboard 
Print this post

OK, Thanks Jim.

Good too know. Glad I asked.

Brian
ChopperP
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 490
Posted: 04:08am 01 Apr 2021
Copy link to clipboard 
Print this post

You might like to watch this nice video on BROWN!!  It explains a lot about our perception of colors.  This guy has some very intriguing videos.  It seems like a good brown needs a little finesse in RGB space with orange.


https://www.youtube.com/watch?v=wh4aWZRtTwU

Just got a new Video in my feed on RGB color in general.

https://www.youtube.com/watch?v=uYbdx4I7STg
Edited 2021-04-01 15:22 by mclout999
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1097
Posted: 05:28am 01 Apr 2021
Copy link to clipboard 
Print this post

@mclout999. Very interesting video. Thanks.

  Quote  There are lots of different Browns and you can always roll your own to suit your monitor

@TassyJim. Yes different monitors display colours differently which can be annoying.

Also interested if anyone else's Brown changed or is it just me?

Brian
ChopperP
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2170
Posted: 06:18am 01 Apr 2021
Copy link to clipboard 
Print this post

then there's this... https://www.youtube.com/watch?v=wh4aWZRtTwU

(great channel btw)
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 490
Posted: 11:05pm 01 Apr 2021
Copy link to clipboard 
Print this post

  CaptainBoing said  then there's this... https://www.youtube.com/watch?v=wh4aWZRtTwU

(great channel btw)
This is the same link as the one I posted?
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 11:16pm 01 Apr 2021
Copy link to clipboard 
Print this post

@Brian,
It might be worth checking your video R2R networks. If one bit is missing or shorting, it might cause what you are seeing.
The simplest way to check it is with my testcard program
https://www.c-com.com.au/mmhelp/testcard.htm

The 3 primary colours should all increase in brightness going across the screen. Any discontinuity will indicate a fault with the circuit.

Jim
VK7JH
MMedit
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1097
Posted: 12:24am 02 Apr 2021
Copy link to clipboard 
Print this post

Thanks Jim

Will give it a go later on today.

Brian.
ChopperP
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1097
Posted: 01:17am 02 Apr 2021
Copy link to clipboard 
Print this post

OK, had a bit of a play with the monitor.

About the best I could get it. It was worse.

Conversion to JPG makes it appear a bit worse than it is.

Brown & Red still much the same.



Great test card...

Brian

OOPS

Just realised that the IMAGE saved may be NOT what is on the screen...

.
Edited 2021-04-02 11:31 by Chopperp
ChopperP
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 02:32am 02 Apr 2021
Copy link to clipboard 
Print this post

  Quote  OOPS

Just realised that the IMAGE saved may be NOT what is on the screen...

Correct.
But if you view the saved image in Windows paint etc and compare it with what you see on your monitor, they should be close to the same.

also try 16 bit for a check of the full R2R network

Jim
VK7JH
MMedit
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1097
Posted: 03:06am 04 Apr 2021
Copy link to clipboard 
Print this post

Got around to playing with Jim's Test Card program on my other CMM2 running a wide screen monitor. Also read the instructions on how to use it...duh

Re-adjusted the monitor settings to give a better picture. Found that depending on what angle you look at the screen determines to some extent what colours are seen. If I got the right angle, RGB(BROWN) did look OK.

Interesting going through the various modes & resolutions on the CMM2. Hadn't done that before. (No need to). Mode 11.16 looks good.

Will re-check the other CMM2 one day soon.

Thanks again Jim.
ChopperP
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025