CHAPTER 01
EP01_01β π Three distance metrics in DIPEP01_02β π Predictive Performance β ML Metrics in CVEP01_03β π Mean Average Precision (mAP) β Precision-Recall CurveEP01_04β πΌοΈ Reading and Information from a Matrix ImageEP01_05β π Negative of a Grayscale ImageEP01_06β π¨ RGB β Grayscale Conversion (ITU-R BT.601)EP01_07β β« Manual Thresholding: Binary ImageEP01_08β π¨ Intensity Range RemappingEP01_09β π Checkerboard Pattern: Chess MatrixEP01_10β π Metadata: Reading a PGM FileEP01_11β π Neighborhood Analysis: 1D Maximum Filter
CHAPTER 02
EP02_01β βοΈ Brightness and Contrast AdjustmentEP02_02β π¬ Spatial SubsamplingEP02_03β π¨ Gray Level QuantizationEP02_04β π Distance Transform in Binary ImagesEP02_05β β‘οΈ Image TranslationEP02_06β π Image RotationEP02_07β π Resizing (Scaling)EP02_08β π Shear TransformationEP02_09β π§© Generic Affine TransformationEP02_10β π― Perspective Correction (Homography)EP02_11β π Perspective Correction (Homography) in a Real Image
CHAPTER 03
EP03_01β β Saturated Addition of a ConstantEP03_02β π Alpha Blending of Two ImagesEP03_03β π Image Inversion (Photographic Negative)EP03_04β π Histogram Equalization (L bits)EP03_05β π² Binary AND Mask ApplicationEP03_06β π«οΈ NΓN Mean Filter KernelEP03_07β π Laplacian Operator (w4) for Edge EnhancementEP03_08β π§ Sobel Gradient: Gx and GyEP03_09β π‘ 3Γ3 Median FilterEP03_10β β¨ Unsharp Masking (USM)
CHAPTER 04
EP04_01β ποΈ Global Thresholding with a Fixed ThresholdEP04_02β π Otsuβs Automatic ThresholdingEP04_03β π± Flat Binary Dilation (mm.dil0)EP04_04β πͺ¨ Binary Erosion by Flat Structuring Element (mm.ero0)EP04_05β π§Ή Morphological Opening (Noise Removal)EP04_06β π§© Morphological Closing (Filling of Gaps)EP04_07β β°οΈ Weighted Dilation and Erosion (mm.dil1 / mm.ero1)EP04_08β π Morphological Gradient, Top-hat, and Black-hatEP04_09β πΊοΈ Distance Transform and the Objectβs βCoreβEP04_10β πͺ Blob Separation, Labeling, and Descriptors
CHAPTER 05
EP05_01β π’ Ideal Low-Pass Filter by Distance in the SpectrumEP05_02β π‘ Notch Filter: Removing Periodic PeaksEP05_03β π DCT Quantization: The True Source of CompressionEP05_04β π΄ Implementing the 2D DFT from the DefinitionEP05_05β π Complete JPEG Pipeline: DCT, Quantization, and Reconstruction
CHAPTER 06
EP06_01β π’ Segmentation Evaluation by IoU ( Intersection over Union )EP06_02β π’ Marker Filtering by CircularityEP06_03β π‘ Classification of Markings on Answer Sheets (OMR)EP06_04β π‘ Median Angular Slope Estimator ( Deskew )EP06_05β π Background Normalization by Division (Illumination Correction)EP06_06β π΄ Local Variance Map for Texture DetectionEP06_07β π£ Industrial Inspection Pipeline: Registration by Translation and SubtractionEP06_08β β« QRCode Segmentation and Real Decoding with OpenCV
CHAPTER 07
EP07_01β π’ Step-by-Step k-NN ClassifierEP07_02β π‘ Z-score Normalization and Robustness of k-NN to Distinct ScalesEP07_03β π‘ Evaluation via Confusion MatrixEP07_04β π Manual Encoding of the LBP DescriptorEP07_05β π΄ Histogram of Orientations for an HOG CellEP07_06β π£ Complete Pipeline : Descriptors + k-NN + Multi-Class EvaluationEP07_07β β« Real Classification of a Texture Mosaic via LBP + k-NN
CHAPTER 08
EP08_01β π’ Hamming Distance and Binary Descriptor MatchingEP08_02β π’ Homography and RANSAC: Voting by InliersEP08_03β π’ Integral Image: Rectangular Sums in Constant TimeEP08_04β π’ IoU and Non-Maximum Suppression (NMS)EP08_05β π‘ Connected Component Labeling: Instance SegmentationEP08_06β π‘ Bounding Boxes , Centroids, and Instance Properties with mm.measureEP08_07β π‘ Salt-and-Pepper Noise Removal and Object MeasurementEP08_08β π‘ Grayscale Image and Dynamic ThresholdingEP08_09β π Illumination Gradient and Adaptive ThresholdingEP08_10β π΄ Low Contrast and Object Separation Topics ( Watershed / Distance)EP08_11β π΄ Classification and Validation of Objects with Bounding Box Ground TruthEP08_12β π΄ Instance Segmentation on Real Images: Geometric Objects
CHAPTER 09
EP09_01β π’ Manual 2D Convolution (Forward Pass of a Learned Layer)EP09_02β π’ Manual Pooling (Maximum and Average)EP09_03β π‘ Counting Trainable Parameters of a CNNEP09_04β π‘ Intersection over Union (IoU) and Non-Maximum Suppression (NMS)EP09_05β π Segmentation Evaluation: Pixel-wise IoU and DiceEP09_06β π΄ Integrated Pipeline: From Detection to Real-World Measurement