Research Article

Automated Visual Inspection of Ship Hull Surfaces Using the Wavelet Transform

Pseudocode 1

Pseudocode to implement the developed algorithm.
Step  1. Compute Shannon Entropy: , , and
Step  2. Compute for
Step  3. Compute optimal decomposition level:
   ,
Step  4. Compute
Step  5. Compute
Step  6. Binarize