DIP+CV · Interactive Simulator

Interactive industrial inspection simulator by image subtraction: control the...

⚙️ Simulator: Image Subtraction and Geometric Registration |Reference − Inspection| > Threshold
🔄 Capture Misalignment (Conveyor)
Horizontal translation (Δx):0 px
Vertical translation (Δy):0 px
Rotation (θ):0.0°
🎛️ Inspector Parameterization
Tolerance threshold (T):35
Product conforming.
1. Stable Reference
2. Inspection (actual capture)
3. Anomaly Mask
🧠 Pedagogical Challenge
With Direct Subtraction mode active, use the translation and rotation controls to simulate small misalignments on the conveyor. Notice that variations of a few pixels or degrees generate edges easy to confuse with real defects. Increasing the tolerance threshold to ignore these edges reduces sensitivity, making the system blind to fine defects (such as the scratch on the left side). When switching to Subtraction with Registration, alignment is restored before the difference, isolating the real defect precisely without false alarms.
Description: Figure 6.19: Interactive industrial inspection simulator by image subtraction: control the geometric misalignment distortions (registration) and the detection threshold to observe the impact on false positives.