Replies: 2 comments 4 replies
-
A bit more information is probably needed. Then the references: |
Beta Was this translation helpful? Give feedback.
-
Here is the spectrum of the LED lights we're using as source lighting. |
Beta Was this translation helpful? Give feedback.
-
Been doing basic linear regression in RGB space to do color correction for a long time and looking for something better. Thought I'd give this a try, but I"m not really getting great results. I have an imaging setup where we take photos of objects with a blue background. The lights are not high CRI, so I'll get a measurement next week.
Our standard protocol is to white balance the SLR (M6 mkII) and set the exposure to where there is no clipping on the xrite/calibrite passport (White ~ 240/255). My code finds the card, orientates it, and then reads the mean value from the square. I've used these values for years to correct the images via regression with RGB and more recently Lab* and it mostly works, but it's not always satisfying.
When I tried colour.colour_correction() I was getting very strange outputs in initially and eventually tried all combinations of polynomial expansion and degree.
0 Degree False
1 Degree False
1 Degree True
2 Degree False
2 Degree True
3 Degree False
3 Degree True
4 Degree False
4 Degree True
0 False is the card before correction at all. And then we go up in each degree True means polynomial expansion is applied and False is not. By eye, degree 2 and True appears to be the best, but I don't understand why when it gets to degree 4 it goes all the rails. You can see some weird clipping in degree 3 around the cyan square. I admit I'm a bit of a newbie with color theory even though I've been using it for years.
Beta Was this translation helpful? Give feedback.
All reactions