I have issue with track bar. Can anybody give me blueprint of trackbar. As minimal 1 slider code as possible , what gives output as value of slider. Like if slider is from 0 to 10 then , i get output value 5 if slider is at middle.
I have function what changes gamma of image ,
I want to read trackbar value and send it in to function where i give input , what changes my image gamma value.
Lets say , function name is :
gammachanger(x)
i want read trackbar value and enter it in to X
I have not find yet good tutorial what could explain me use of trackbar . All tutorials start to explain somewhere in the middle , and half info is not explained :(
My function code example: