Searched refs:interpFactor (Results 1 – 1 of 1) sorted by relevance
589 double interpFactor = 0.5; // Initial guess for interpolation factor in findDngInterpolationFactor() local590 double oldInterpFactor = interpFactor; in findDngInterpolationFactor()620 lerp(XYZToCamera1, XYZToCamera2, interpFactor, interpXYZToCamera); in findDngInterpolationFactor()633 interpFactor = 1; in findDngInterpolationFactor()635 interpFactor = 0; in findDngInterpolationFactor()638 interpFactor = (invCT - 1.0 / upper) / ( 1.0 / lower - 1.0 / upper); in findDngInterpolationFactor()642 interpFactor = 1.0 - interpFactor; in findDngInterpolationFactor()645 interpFactor = (interpFactor + oldInterpFactor) / 2; in findDngInterpolationFactor()646 lastDiff = Math.abs(oldInterpFactor - interpFactor); in findDngInterpolationFactor()647 oldInterpFactor = interpFactor; in findDngInterpolationFactor()[all …]