Ask Your Question

Revision history [back]

Creating a color gradient area

Can you create a linear color gradient (like the color gradients you can generate in CSS) in OpenCV, where you have two or more color thresholds and linear color blending in between?

I want to create one as a Mat struct in C++.