Resize and then Sum Two Images - 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 | ||||||||
================================================================================= ============================================ Resize and then sum/overlap/mix two images. Code: ============================================ Resize the image, with "downscale" (namely, decrease the size of the image) and "upscale" (increase the size of the image), by measuring 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: ============================================ Simple resize an image. Code: ============================================ Transparent overlays of two images after resize. Code: ============================================ Simple overlap script especially for program test. Code: Input_2 (the second image was obtained from ROI method, refer to page4341): Input_3 (the first image was obtained by image shift method, and second image was obtained from ROI method, refer to page4341):
|
||||||||
================================================================================= | ||||||||
|
||||||||