Ask Your Question

hahne's profile - activity

2016-02-10 07:19:49 -0600 commented question Change width of trackbar

Thanks for the answer but sadly this does not work for me :(

2016-02-10 07:02:51 -0600 asked a question Change width of trackbar

Hi,

is there a way to influence the width of the trackbars? My trackbars go from 0 - 500 but the width is to small to increment e.g. by 1

The code is something like that:

cv::namedWindow(tb_win_name_win, CV_WINDOW_NORMAL);
cv::resizeWindow(tb_win_name_win, 500, 700);
cv::createTrackbar(string("R a_u"), tb_win_name_win, &auIR, alpha_slider_max, on_trackbar, &(param_map[0]));

And I get this: image description

2016-02-01 09:11:46 -0600 commented answer Smoothing with a mask

Is there any mathematical explanation for this approach to prove that this is correct?