Skip to content

White point constratints (column sum to 1) in color correction matrix in mcc module #2989

Open
@SohaibImranBhatti

Description

@SohaibImranBhatti
Detailed description

I am new here. This might not be an issue but a feature request. I want to know that in openCV mcc module one can calculate the color correction matrix without any constrained optimization. The matrix calculated in this way does not have column or row sum to 1 condition and as a result the white point is not preserved. I want to know how can we make the algorithm work in a way that the columns of the resultant color correction matrix sum to 1 for white point consistency.
Just as in Imatest there is an option of row or column summing to 1 for preservation of white point.

Steps to reproduce
Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    answers.opencv.org, Stack Overflow, etc and have not found solution
  • I updated to latest OpenCV version and the issue is still there
  • There is reproducer code and related data files: videos, images, onnx, etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions