Skip to content

How to SetPixelSize #177

Answered by crisluengo
8188 asked this question in General
Discussion options

You must be logged in to vote

The measurement assumes the pixel size is constant. This is the case in 2D and 3D microscopy, in CAT and MRI scans, and many other imaging modalities. But it is often not the case in photography. To properly measure things in a photograph (the 2D image formed by projecting a 3D scene through a pinhole or lens), you need to determine the distance of the camera to each object (or object part) imaged, thereby partially reconstructing the 3D scene that was photographed.

The pixel size for an image is determined by properly calibrating the instrument. This can be as simple as taking an image of a ruler.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by crisluengo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #116 on November 25, 2024 18:53.