alicevision / AliceVision

Photogrammetric Computer Vision Framework
http://alicevision.org
Other
2.89k stars 807 forks source link

Pixel Aspect Ratio application #1625

Closed demoulinv closed 6 months ago

demoulinv commented 6 months ago

Description

This PR enables Pixel Aspect Ratio (PAR) application by imageProcessing.

If imageProcessing is connected to a sfmData, the PAR is extracted from the intrinsics, applied and updated in the intrinsics. Otherwise, the PAR is extracted from the metadata, applied and updated in the metadata.

The PAR application can be done by increasing the image width (default) or by reducing the image height.

linked to meshroom PR https://github.com/alicevision/Meshroom/pull/2273

Features list

Implementation remarks

Implementation of PAR application is combined with the rescaling feature already available in imageProcessing.