Use morphological operations to turn a pixel based image of text into geometric information (x,y locations), sizes, etc. to allow direct comparison
I used rstats, RStudio and some cran and Bioconductor libraries. Check code.
- load image
- make sure it's grayscale
- erode / dilate ("closing")
- label (
bwlabel) - compute different features
- plot
starting out with this
and get this
and then get this





