Matlab – Miss or Hit Transform

This post is about miss or hit transform in image processing. Before you will be able to understand miss or hit transform, there is a requirement which you need to understand first which is erosion. If you have no idea what erosion is or you not understand erosion clearly, please refer to my previous post on erosion. Hit or miss transform is one of the powerful method for finding shapes and their locations in an image. Hit or miss can be defined entirely in term of erosion only. Hit or miss transform is very useful for detecting specific shapes that are intended to extract such as squares, triangles, ridges, corners, junctions and etc. In this post,i will provide you with Matlab source code for miss or hit transform as an example to you. Furthermore, i will include the example with teoretical part how to do miss or hit transform using manual way. Continue reading “Matlab – Miss or Hit Transform”