I used the edge (canny) function to retain the edge-line (black and white TIFF image, so not a vector graphic) of a wiggled cell wall in a microscope image. I want to analyse the exact shape and distribution of the wiggles, however the cell walls are also curved across the picture (not just round). Does someone have experience in Matlab on how to straighten a curvature (perhaps convolution with another image that I could make of the cell wall shape without wiggles - but how can I do that with images)? How would you then analyze the final staightend but still wiggled line? (Locally fit to function/polynomail and derive?) I found the options Hough Transform (lines only) and bwtraceboundary (closed boundaries only), which both don't quite seem to fit.

Similar questions and discussions