Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I used a color checker image -24 to calculate color correction matrix. I used the colour-science package in Python. First, I extract the card image with colour_checker_detection module (detect_colour_checkers_segmentation). I then used the 24 colour swatches along with colour.CCS_COLOURCHECKERS['ColorChecker24 - After November 2014'] to calculate colour corrected checker card image. I have done the cctf_decoding and cctf_encoding before and after performing colour correction. For Cheung_2004 with 3 terms, there is no apparent clipping, but it becomes serious matter when applying Cheung_2004 20 terms. So is the Finalyson_2015, but not as bad as Cheung_2004 with 20 terms. [![most of the swatches displayed certain amount of clipping][1]][1] the original image was captured with no saturation and white balanced.

My question is how to minimize such clipping effect on colour correction images? Did I miss a step? Is there anything that I did wrong or the images were not ideal to work with? [1]: https://i.stack.imgur.com/Z726s.png

It is hard to confirm without seeing the original data but as you use higher order functions, you will also be fitting better the noise in your image.

The image you sent seems to exhibit quite a bit of it, I would recommend to either denoise it or average multiple images, i.e. stacking.

Something important to also consider Is that higher order functions tend to behave very well in the training dataset but they are subject to explosions outside of it, i.e. high order polynomials do not extrapolate well.

Instead of working on correcting original data, I tried to create color checker images using colour.characterisation.ColourChecker() command. while trying to plot multiple newly created colour checker images in one matplotlib figure with subplots, I can only create one colour checker images in one of the subplots by following examples in github.com/colour-science/colour/issues/199 . It seems that plot_single_colour_checker" only allows one colour checker to be drawn in one of the subplots. Any suggestions? @ Kel Solaar ODScience Oct 24, 2022 at 19:41 This would be better suited in separate question but each plotting function should return a figure and axes and also take axes and standalone kwargs, this should allow you to create sub-plots, pass the axes to the plot_single_colour_checker whilst also passing standalone=False . Kel Solaar Oct 25, 2022 at 17:49

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .