Measure Length/Distance on an Image w/o Calibrated Bar - Python for Integrated Circuits - - An Online Book - |
||||||||
Python for Integrated Circuits http://www.globalsino.com/ICs/ | ||||||||
Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||
================================================================================= ============================================ Measure length on an image w/a calibrated bar: Measure distance by mouse clicks, that is the first two clicks are for standards, and the last two clicks are for measurements. Code: ============================================ Measure pixel distance by mouse clicks: the first two clicks are obtained from the ends of a diagonal of the image, and the last two clicks are feature needed. Code:
|
||||||||
================================================================================= | ||||||||
|
||||||||