How can I accurately measure the diameter of a hole using digital photography?

  • Context: Undergrad 
  • Thread starter Thread starter Irja
  • Start date Start date
  • Tags Tags
    Diameter Hole
Click For Summary
SUMMARY

This discussion focuses on measuring the diameter of a hole using digital photography techniques. Participants emphasize the importance of considering both pure white and gray pixels in the image analysis, suggesting that measurements should be taken across the 50% gray level pixels for better accuracy. They recommend using image processing software to estimate the center of the hole and make radial distance measurements at various angles. However, they caution that for precise measurements, especially at microscopic levels, using a microscope is advisable.

PREREQUISITES
  • Understanding of digital photography and image formats (JPEG, etc.)
  • Familiarity with image processing software for measurement analysis
  • Knowledge of pixel measurement techniques and gray level analysis
  • Basic concepts of optical measurement and microscopy
NEXT STEPS
  • Research image processing software options for diameter measurement, such as ImageJ or GIMP.
  • Learn about pixel analysis techniques, focusing on gray level pixel interpretation.
  • Explore microscopy techniques for accurate diameter measurement in small holes.
  • Investigate methods for enhancing image quality to reduce artifacts in measurements.
USEFUL FOR

This discussion is beneficial for engineers, researchers, and technicians involved in precision measurement, particularly those working with small-scale components or requiring accurate diameter assessments in their projects.

Irja
Messages
3
Reaction score
0
Hello,

I am trying to measure diameter of the hole in my equipment by doing the photography with digital camera.

The result is in the picture.

If I am calculating the pixels - shall I consider only the "pure white" ones or also the grey pixels? Are the gray pixels parts of the hole or it's just the diffraction? If I shall also consider the gray ones, how shall I justify including them?
 

Attachments

  • hole.jpg
    hole.jpg
    7.1 KB · Views: 394
Science news on Phys.org
First can you set the camera to save anything other than jpeg? This will help avoid the artifacts where there is a big change in brightness.
You want to measure across the 50% grey level pixels, however you do it will only be an estimate.
I would load the picture into an image package and estimate the centre of the hole, then make as many radial distance measurements to an estimate of the mid grey at different angles and average them.
You could also try setting the image to pure black/white and trying the same thing.

It probably isn't worth trying to get more complicated with automatic fitting routines with a poor image - you would be betterr off getting a microscope.
 
I second mgb- your 'measurement' isn't accurate enough to give you results worth anything.

That said, the method you are using (but done under very controlled circumstances) is what is used to locate the center of objects to sub-pixel resolutions. That's useful for studying molecular motors, for example. Or colloid dynamics.

I guess I should ask why you are measuring the hole diameter? About how big is the hole- microns or millimeters? There's lots of ways to measure a diameter.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 77 ·
3
Replies
77
Views
7K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 40 ·
2
Replies
40
Views
6K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 37 ·
2
Replies
37
Views
6K