Home
last modified time | relevance | path

Searched refs:hue (Results 1 – 23 of 23) sorted by relevance

/external/opencv3/3rdparty/openexr/Imath/
DImathColorAlgo.cpp50 double hue = hsv.x; in hsv2rgb_d() local
56 if (hue == 1) hue = 0; in hsv2rgb_d()
57 else hue *= 6; in hsv2rgb_d()
59 int i = int(Math<double>::floor(hue)); in hsv2rgb_d()
60 double f = hue-i; in hsv2rgb_d()
82 double hue = hsv.r; in hsv2rgb_d() local
88 if (hue == 1) hue = 0; in hsv2rgb_d()
89 else hue *= 6; in hsv2rgb_d()
91 int i = int(Math<double>::floor(hue)); in hsv2rgb_d()
92 double f = hue-i; in hsv2rgb_d()
[all …]
/external/skia/src/animator/
DSkDrawColor.cpp36 SkScalar hue; in RGB_to_HSV() local
38 hue = 0; in RGB_to_HSV()
42 hue = SkScalarMul(green - blue, part60); in RGB_to_HSV()
43 if (hue < 0) in RGB_to_HSV()
44 hue += 360 * SK_Scalar1; in RGB_to_HSV()
47 hue = 120 * SK_Scalar1 + SkScalarMul(blue - red, part60); in RGB_to_HSV()
49 hue = 240 * SK_Scalar1 + SkScalarMul(red - green, part60); in RGB_to_HSV()
52 return hue; in RGB_to_HSV()
61 SkScalar hue = choice == kGetHue ? hsv : RGB_to_HSV(color, kGetHue); in HSV_to_RGB() local
72 int sextant = SkScalarFloorToInt(hue / 60); in HSV_to_RGB()
[all …]
DSkAnimateSchema.xsd1250 <!-- @attribute hue The hue component of an HSV color. Hue ranges from 0 to 360. -->
1251 <xs:attribute name="hue" type="Sk:Float"/>
/external/opencv3/samples/cpp/tutorial_code/Histograms_Matching/
DcalcBackProject_Demo1.cpp17 Mat src; Mat hsv; Mat hue; variable
35 hue.create( hsv.size(), hsv.depth() ); in main()
37 mixChannels( &hsv, 1, &hue, 1, ch, 1 ); in main()
66 calcHist( &hue, 1, 0, Mat(), hist, 1, &histSize, &ranges, true, false ); in Hist_and_Backproj()
71 calcBackProject( &hue, 1, 0, hist, backproj, &ranges, 1, true ); in Hist_and_Backproj()
/external/opencv3/samples/cpp/
Dcamshiftdemo.cpp102 Mat frame, hsv, hue, mask, hist, histimg = Mat::zeros(200, 320, CV_8UC3), backproj; in main() local
127 hue.create(hsv.size(), hsv.depth()); in main()
128 mixChannels(&hsv, 1, &hue, 1, ch, 1); in main()
132 Mat roi(hue, selection), maskroi(mask, selection); in main()
155 calcBackProject(&hue, 1, 0, hist, backproj, &phranges); in main()
/external/opencv3/samples/tapi/
Dcamshift.cpp102 cv::UMat hsv, hist, hue, mask, backproj; in main() local
128 hue.create(hsv.size(), hsv.depth()); in main()
129 … cv::mixChannels(std::vector<cv::UMat>(1, hsv), std::vector<cv::UMat>(1, hue), fromTo, 1); in main()
133 cv::UMat roi(hue, selection), maskroi(mask, selection); in main()
160 … cv::calcBackProject(std::vector<cv::UMat>(1, hue), std::vector<int>(1, 0), hist, backproj, in main()
/external/dng_sdk/source/
Ddng_camera_profile.cpp379 for (uint32 hue = 0; hue < hues; hue++) in FingerprintHueSatMap() local
385 map.GetDelta (hue, sat, val, modify); in FingerprintHueSatMap()
878 for (uint32 hue = 0; hue < hues; hue++) in ReadHueSatMap() local
890 hueSatMap.SetDelta (hue, sat, val, modify); in ReadHueSatMap()
/external/opencv3/doc/tutorials/imgproc/histograms/back_projection/
Dback_projection.markdown91 Mat src; Mat hsv; Mat hue;
103 hue.create( hsv.size(), hsv.depth() );
105 mixChannels( &hsv, 1, &hue, 1, ch, 1 );
112 - **&hue:** The destination array of the copied channels
115 case, the Hue(0) channel of &hsv is being copied to the 0 channel of &hue (1-channel)
145 calcHist( &hue, 1, 0, Mat(), hist, 1, &histSize, &ranges, true, false );
151 calcBackProject( &hue, 1, 0, hist, backproj, &ranges, 1, true );
154 backproj matrix, which will store the backprojection of the source image (&hue)
/external/libpng/contrib/gregbook/
Drpng2-x.c1221 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_load_bg_image() local
1258 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_x_load_bg_image()
1269 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_x_load_bg_image()
1270 hue -= (((int)(hue / 360.0)) * 360.0); in rpng2_x_load_bg_image()
1271 hue /= 60.0; in rpng2_x_load_bg_image()
1272 ii = (int)hue; in rpng2_x_load_bg_image()
1273 f = hue - (double)ii; in rpng2_x_load_bg_image()
1993 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_x_reload_bg_image() local
2026 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_x_reload_bg_image()
2037 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_x_reload_bg_image()
[all …]
Drpng2-win.c972 double red=0.0, green=0.0, blue=0.0, hue, s, v, f, p, q, t; in rpng2_win_load_bg_image() local
1009 hue = (angle + PI) * INV_PI_360 + aoffset; in rpng2_win_load_bg_image()
1020 if ((hue < 0.0) || (hue >= 360.0)) in rpng2_win_load_bg_image()
1021 hue -= (((int)(hue / 360.0)) * 360.0); in rpng2_win_load_bg_image()
1022 hue /= 60.0; in rpng2_win_load_bg_image()
1023 ii = (int)hue; in rpng2_win_load_bg_image()
1024 f = hue - (double)ii; in rpng2_win_load_bg_image()
/external/mesa3d/src/gallium/state_trackers/xvmc/
Dattributes.c100 context_priv->procamp.hue = value / 1000.0f; in XvMCSetAttribute()
144 *value = context_priv->procamp.hue * 1000; in XvMCGetAttribute()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_csc.h40 float hue; member
Dvl_csc.c187 float h = p->hue; in vl_csc_get_matrix()
/external/chromium-trace/catapult/third_party/Paste/paste/evalexception/media/
DMochiKit.packed.js4603 },colorWithHue:function(hue){ argument
4605 hsl.h=hue;
4727 },fromHSL:function(hue,_4e4,_4e5,_4e6){ argument
4730 },fromHSV:function(hue,_4e9,_4ea,_4eb){ argument
4844 },_hslValue:function(n1,n2,hue){ argument
4845 if(hue>6){
4846 hue-=6;
4848 if(hue<0){
4849 hue+=6;
4853 if(hue<1){
[all …]
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dmixer.c784 camp.hue = procamp->hue; in vlVdpGenerateCSCMatrix()
/external/opencv3/doc/py_tutorials/py_imgproc/py_histograms/py_histogram_backprojection/
Dpy_histogram_backprojection.markdown54 where h is hue and s is saturation of the pixel at (x,y). After that apply the condition
/external/opencv3/modules/videoio/src/
Dcap_libv4l.cpp1476 retval = capture->imageProperties.hue; in icvGetPropertyCAM_V4L()
1716 capture->imageProperties.hue = v4l_value; in icvSetControl()
Dcap_v4l.cpp2454 retval = capture->imageProperties.hue; in icvGetPropertyCAM_V4L()
2742 capture->imageProperties.hue = v4l_value; in icvSetControl()
/external/llvm/
DCREDITS.TXT336 E: morten@hue.no
/external/opencv3/doc/tutorials/core/mat_the_basic_image_container/
Dmat_the_basic_image_container.markdown123 - The HSV and HLS decompose colors into their hue, saturation and value/luminance components,
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/resources/
DTransliterator_Kanji_English.txt1533 彩>'[hue]';
/external/libexif/po/
Dda.po27 # hue -> farvetone
/external/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt21122 彩 < hue;
35924 色調 > hue;
55066 彩 > hue;