Is it possible to implement Hough Transform to detect shape (given in the form of equation). I know there is a generalized Hough transform to which we need to pass an image and a template but is there any way to pass equation of shape instead of template.
Asked
Active
Viewed 201 times
0
-
Make a template from the equation? – Ander Biguri Feb 13 '18 at 11:53
-
@AnderBiguri how? – hdc Feb 13 '18 at 12:49
-
If you have the equation, simply determine which are the parameters (make sure it's not more than 3 or 4, otherwise your parameter space will be unmanageable). 1- Iterate over those parameters. 2- Sample the image at the locations given by your shape equation for those parameters. 3- Add the those pixel values. 4- Write them to the bin for those parameters. 5- Repeat for all other parameter combinations. – Cris Luengo Feb 13 '18 at 20:46
-
@CrisLuengo Sir equation could vary it is not fixed. – hdc Feb 14 '18 at 02:37
-
What do you mean not fixed? You have an equation with several parameters, yes? It doesn't randomly change half-way the analysis, I hope? – Cris Luengo Feb 14 '18 at 03:12