• Vadim Pisarevsky's avatar
    Rewite polar transforms (#11323) · b8b7ca73
    Vadim Pisarevsky authored
    * Rewrite polar transformations
    
    - A new wrapPolar function encapsulate both linear and semi-log remap
    - Destination size is a parameter or calculated automatically to keep objects size between remapping
    - linearPolar and logPolar has been deprecated
    
    * Fix build warning and error in accuracy test
    
    * Fix function name to warpPolar
    
    * Explicitly specify the mapping mode, so we retain all the parameters as non-optional.
    
    Introduces WarpPolarMode enum to specify the mapping mode in flags
    
    * resolves performance warning on windows build
    
    * removed duplicated logPolar and linearPolar implementations
    b8b7ca73
polar_remap_doc.svg 325 KB