Flat curve editor widget, HSV tool modified to use it.
Usage : - click & drag a control point to move it in X&Y direction - click & drag a vertical line to move it in horizontal or vertical direction (the very first move will be used to determine the motion direction) - click & drag the yellow or blue square handle to modify the tangent of the same color
This commit is contained in:
@@ -121,9 +121,6 @@ class ImProcFunctions {
|
||||
bool transCoord (int W, int H, std::vector<Coord2D> &src, std::vector<Coord2D> &red, std::vector<Coord2D> &green, std::vector<Coord2D> &blue, double ascaleDef = -1);
|
||||
void getAutoExp (unsigned int* histogram, int histcompr, double expcomp, double clip, double& br, int& bl);
|
||||
double getTransformAutoFill (int oW, int oH);
|
||||
|
||||
void rgb2hsv (int r, int g, int b, float &h, float &s, float &v);
|
||||
void hsv2rgb (float h, float s, float v, int &r, int &g, int &b);
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user