Python Automation and Machine Learning for EM and ICs

An Online Book, Second Edition by Dr. Yougui Liao (2024)

Python Automation and Machine Learning for EM and ICs - An Online Book

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 Two Images

Resize and then sum/overlap/mix two images. Code:
         Automatically Review, Scroll, Click Webpage and Its Link
Input:          
         Automatically Review, Scroll, Click Webpage and Its Link
Output:          
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link

============================================

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:
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link
Input:          
         Automatically Review, Scroll, Click Webpage and Its Link
Output:          
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link

============================================

Simple resize an image. Code:
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link
Input:          
         Automatically Review, Scroll, Click Webpage and Its Link
Output:
         Automatically Review, Scroll, Click Webpage and Its Link

============================================

Transparent overlays of two images after resize. Code:
         Automatically Review, Scroll, Click Webpage and Its Link         
Input_1:          
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link
Output_1:
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link
Input_2 (The surroundings in the first image below is transparent, refer to page4341):          
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link
Output_2 (The output image with transparent background is not good):
         Automatically Review, Scroll, Click Webpage and Its Link

============================================

Simple overlap script especially for program test. Code:
         Automatically Review, Scroll, Click Webpage and Its Link         
Input_1 (the second image was obtained from image shift method, refer to page4341):          
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link
Output_1:
         Automatically Review, Scroll, Click Webpage and Its Link

Input_2 (the second image was obtained from ROI method, refer to page4341):          
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link
Output_2:
         Automatically Review, Scroll, Click Webpage and Its Link

Input_3 (the first image was obtained by image shift method, and second image was obtained from ROI method, refer to page4341):          
         Automatically Review, Scroll, Click Webpage and Its Link
         Automatically Review, Scroll, Click Webpage and Its Link
Output_3:
         Automatically Review, Scroll, Click Webpage and Its Link