sustaining_gazes/matlab_version/face_validation/unQuantizeContinuous.m
Tadas Baltrusaitis 5959176921 Some big changes:
- face validator is a retrained CNN now
- starting retiring CLM-Z from OpenFace
2017-08-01 17:11:02 -04:00

6 lines
No EOL
195 B
Matlab

function [unquantized] = unQuantizeContinuous(values, min_v, max_v, num_bins)
step_size = (max_v - min_v) / num_bins;
unquantized = min_v + step_size/2 + (values-1) * step_size;
end