Home
last modified time | relevance | path

Searched refs:alpha_slider_max (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/samples/cpp/tutorial_code/HighGUI/
DAddingImagesTrackbar.cpp14 const int alpha_slider_max = 100; variable
30 alpha = (double) alpha_slider/alpha_slider_max ; in on_trackbar()
61 sprintf( TrackbarName, "Alpha x %d", alpha_slider_max ); in main()
62 createTrackbar( TrackbarName, "Linear Blend", &alpha_slider, alpha_slider_max, on_trackbar ); in main()
/external/opencv3/doc/tutorials/highgui/trackbar/
Dtrackbar.markdown32 const int alpha_slider_max = 100;
48 alpha = (double) alpha_slider/alpha_slider_max ;
73 sprintf( TrackbarName, "Alpha x %d", alpha_slider_max );
75 createTrackbar( TrackbarName, "Linear Blend", &alpha_slider, alpha_slider_max, on_trackbar );
102 createTrackbar( TrackbarName, "Linear Blend", &alpha_slider, alpha_slider_max, on_trackbar );
108 - The Trackbar values will be in the range from \f$0\f$ to **alpha_slider_max** (the minimum
117 alpha = (double) alpha_slider/alpha_slider_max ;