I am refencing a sample nokia project, and I would like to add the Curves filter. I am unsure of how to do this, as I do not understand what the Curve parameters are that are required by the filter
CurvesFilter(Curve red, curve Green, curve blue)
What do I need to insert into the parameters?
Just check documentation. It is described here: CurvesFilter
First constructor creates and initializes a new CurvesFilter with default values:
Second constructor creates and initializes a new CurvesFilter with a set of color curves:
So red, green and blue is type of Curve class. You can check documentation here: Curve
So you should create a new object of the class:
CurveInterpolation is the mode of interpolation between points.