1 | initial version |
Here are the steps to follow!
Convert To 8 bit using the new min max value like this
double min=2000; double max=3000; src.convertTo( dis, CV_8U, 255.0/(max-min), -min);
2 | No.2 Revision |
Here are the steps to follow!
Convert To 8 bit using the new min max value like this
double min=2000;
double max=3000;
max=3000;
src.convertTo( dis, CV_8U, 255.0/(max-min), -min);