How to amplify regions with specific color in an image?
Let us assume you are doing a binary classification with the desired color region set as 1 after applying your algorithm.
Then you can provide a set of color images (histograms) and desired outputs. The weights can be posed as the unknown quantities for this set of linear equations. Lo you have a overdetermined system &amp; you can apply any method like Moore-penrose inversion to estimate the weights.