Skip to content

[camera_calibration] Doesn't work well with mono16 images #246

@mintar

Description

@mintar

When running cameracalibrator.py on a mono16 image stream, the image appears all white. This is because cameracalibrator.py simply clips all gray values to the lowest 256 values:

calibrator.py:247

IMO, it should multiply each gray value by 1/256 instead.

I have verified this on my own image data: When I multiply the input image by 1/256 before feeding it into cameracalibrator.py, it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions