Radon Transform
Posted: 2009-08-27T18:39:01-07:00
I believe that Magick has implemented the radon transform in the -deskew IM function.
There has been some current interest in the Hough transform, a cousin of the Radon transform, both of which can be used for extracting the orientation and location of straight lines in an edge image. see viewtopic.php?f=1&t=14491 In fact, the radon transform may be superior.
I was wondering what the feasibility and effort might be to take what is currently developed for -deskew and create a new IM function, -radon, that would take an edge extracted image as input and output the radon transform. The bright spots in the radon transform then represent the strongest edges in the image from which one could deduce the the orientations and locations of those edges.
see for example http://eivind.imm.dtu.dk/staff/ptoft/Radon/Radon.html
This is open for discussion and interest, but I would certainly like to hear from Magick about the complexity of such a task. Does -deskew actually create a radon transform image (in memory) before computing the deskew angles? I understand if this is not high priority. I am just curious if it is a major effort to separate it from -deskew and if I have assumed more than what was implemented in -deskew.
Thanks.
There has been some current interest in the Hough transform, a cousin of the Radon transform, both of which can be used for extracting the orientation and location of straight lines in an edge image. see viewtopic.php?f=1&t=14491 In fact, the radon transform may be superior.
I was wondering what the feasibility and effort might be to take what is currently developed for -deskew and create a new IM function, -radon, that would take an edge extracted image as input and output the radon transform. The bright spots in the radon transform then represent the strongest edges in the image from which one could deduce the the orientations and locations of those edges.
see for example http://eivind.imm.dtu.dk/staff/ptoft/Radon/Radon.html
This is open for discussion and interest, but I would certainly like to hear from Magick about the complexity of such a task. Does -deskew actually create a radon transform image (in memory) before computing the deskew angles? I understand if this is not high priority. I am just curious if it is a major effort to separate it from -deskew and if I have assumed more than what was implemented in -deskew.
Thanks.