Georeferencing API
    Preparing search index...

    Function processingToQuery

    • Map OpenCV feature centres in a resized crop to original query pixel edges.

      Parameters

      • region: Region

        Crop bounds in the EXIF-normalized full-resolution query.

      • width: number

        Positive resized processing width, before feature extraction.

      • height: number

        Positive resized processing height, before feature extraction.

      Returns Matrix3

      Scale/offset matrix including the half-pixel centre correction. Integer OpenCV centre (0, 0) maps to the centre of the crop's first processing pixel; with no resize, that is (region.x + 0.5, region.y + 0.5).