The GetDPI Photography Forum

Great to see you here. Join our insightful photographic forum today and start tapping into a huge wealth of photographic knowledge. Completing our simple registration process will allow you to gain access to exclusive content, add your own topics and posts, share your work and connect with other members through your own private inbox! And don’t forget to say hi!

Fourier-transform to get lines perpendicular to the perspective parallel lines

A

ahmad.pahlavan

Guest
Good day to all and wish you are doing OK now.

Nowadays, I am working on a small project about Stairs Detection in some gray-scale images. I heard that we can use Fourier-transform to get lines perpendicular to the perspective parallel lines of stairs. I would like to know how could I use Fourier-transform for this process? What is usefulness of Fourier-transform at all?

Regards, Ahmad.
 

EsbenHR

Member
Good day to all and wish you are doing OK now.

Nowadays, I am working on a small project about Stairs Detection in some gray-scale images. I heard that we can use Fourier-transform to get lines perpendicular to the perspective parallel lines of stairs. I would like to know how could I use Fourier-transform for this process? What is usefulness of Fourier-transform at all?

Regards, Ahmad.
I would not recommend a Fourier transform for this. This is doubly true if the lines you try to detect are not strictly parallel, and it sound like you try to find a vanishing point.

It sounds like a Radon- or Hough-transform would be a better match in this case.

It can be made reasonably fast using slant stacking, and you can probably find some fast code floating on the Internet. Also, you don't need to muck around with phases/complex numbers if you need to find actual locations.
 
Top