Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
atheist99293yOr HLS, or CrCbCs, or bt601, or bt702, and what's this gamma thing people keep telling me about? Color is definitely simple.
-
atheist99293yI used to do video standards conversion. If *all* you have to do is convert between 2 color spaces, you've got it easy.
-
atheist99293y@jespersh depends what you want to. Do you want to map their vision into a color space that we can see, or extract the rgb light present?
If it's the former, then I'm assuming each dimension is a frequency response (hope their vision is simple. Ours isn't. Theirs probably isn't either). But you have a "response" from 1 to 12, rgb is a "response" from 1 to 3. HLS might also be useful, as you can represent the color as an angle (or phase) along that 1 to 12, and map that to the 1 to 3 range. But, our color isn't 1 to 3, its circular (weirdness, r+b is purple, our "red" light sensitivity is at the bottom end of the frequency spectrum, what is actually called "red" light and the top end, what is normally called "blue" or more specifically, "purple" light). So rgb has a 120 degree offset in the color wheel. I could script something later if you want, but I'm currently in the hospital. 😅 -
Root825993y@atheist Don’t forget hacking colors.
Example: get something pure, bright white; the brightest and whitest possible. Get a gray sheet of paper, and place a black rectangle on it. Stare at the black for 30 seconds, then look at the white. You’ll see a rectangle of somehow brighter white.
You can do this for blue, yellow, anything, and trick your vision into seeing a white than white, bluer than blue, etc.
You can also see impossible colors by placing large e.g. blue and yellow squares next to one another and crossing your eyes. When you vision is not focusing on a single eye, you’ll see a fascinating bluey-yellow color that is not green. Similar for orange-green, red-blue, yellow-purple, etc. It’s the colors of magic.
Representing these in a colorspace or response… not possible. -
atheist99293y@Root There's a thing (serious warning, if you work with color, this fucks your brain for months, do not do it. I've never done it) called the McCullough effect. It's a pattern you stare at and can literally mess with your perception of color for months. Our brains are weird.
Your suggestion is interesting though. I know a bit about how our brain interprets color and motion, like the pulfrich effect is where your brain is slower to interpret darker scenes, so you can create "fake" 3d by putting a dark lense over one eye and watching standard 2d video that contains motion, and our brains will see 3d images.
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo35My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
How damn hard can it be to convert a CIELAB color to sRGB
rant
fml
colorspaces