10 likes | 106 Views
Problem: iid & jjd are static if image size is constant, no math required. Trivializes too much to do that. Solution: let the input size be dynamic. Pre-allocate memory for ‘maximum size’, write to subset.
E N D
Problem: iid & jjd are static if image size is constant, no math required. Trivializes too much to do that. Solution: let the input size be dynamic. Pre-allocate memory for ‘maximum size’, write to subset. Problem: only one distortion parameter is allowed and hardcoded currently, with a huge lookup table Solution: use a condensed lookup table with 5 coefficients per distortion scale, allow 256 values of distortion level (range 0 to 1). Previous lookup table contained a value X. Now X is computed as power series of radius at a pixel, coefficients given.