How can I measure the pixel size

31 views (last 30 days)
Manar
Manar on 13 Nov 2025 at 18:18
Edited: Stephen23 on 13 Nov 2025 at 20:05
Hi, I have a graduation project called Quality Check in PCB.
I was not able to identify the defects in the three existing holes, and my professor told me that I need to calculate the pixel size.
Does anyone have any idea about this?
Thank you for any help.

Accepted Answer

Matt J
Matt J on 13 Nov 2025 at 18:40
Edited: Matt J on 13 Nov 2025 at 18:40
If you know the real world distance D (e.g. in millimeters) between two points on the PCB, and if these points are N pixels apart, then the pixel size would be,
pixel_size = D/N;
  4 Comments
Manar
Manar on 13 Nov 2025 at 19:39
Oh, so this is a problem… I only have an image of the board and there are no documents for it.thx
Stephen23
Stephen23 on 13 Nov 2025 at 19:45
Edited: Stephen23 on 13 Nov 2025 at 20:05
"so this is a problem… I only have an image of the board and there are no documents for it."
Most likely those are standard 0.1" DIP hole spacing (e.g. on the 40-pin DIP, and the 16-pin DIP):
You could cross-check the DIP sizes against the pin/lead spacing of the SOP28 footprint too.
So you can easily estimate all sizes on that board.

Sign in to comment.

More Answers (0)

Categories

Find more on Analysis and Verification in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!