Code Monkey home page Code Monkey logo

Comments (3)

laffernandes avatar laffernandes commented on July 20, 2024

Dear Rashuf,

Could you please send me the original RGB and edge images that you are using? I need to take a close look to identify what could be causing the problem.

You can send them to [email protected]

Best regards,
Leandro

from kht.

Rashfu avatar Rashfu commented on July 20, 2024

Dear Rashuf,

Could you please send me the original RGB and edge images that you are using? I need to take a close look to identify what could be causing the problem.

You can send them to [email protected]

Best regards,
Leandro

Dear Rashuf,

Could you please send me the original RGB and edge images that you are using? I need to take a close look to identify what could be causing the problem.

You can send them to [email protected]

Best regards,
Leandro

Dear Leandro,

Thank you for your time.
I have send two original images. Lane detection is the final result I want to get. I try to change the cluster_min_size parameter of the run_kht funtion to 20 and the result is like this:
1
Some detected lines from bottom-left to top-right are clearly false.I wanna figure out the reason

from kht.

laffernandes avatar laffernandes commented on July 20, 2024

Dear Rashuf,

I received the image files sent by you. There are some critical points to remember when working with a Hough Transform (HT). One of them is that the number of lines to be considered is a parameter to be informed. In KHT, the amount of spurious lines is usually less than in other HTs. This means that of the lines returned by the transform, it is necessary to consider only the first T, where T is a value defined by the user/application.

In the example below, I drew only the 30 most relevant lines found. If I drew all the 176 detected lines, there would be a lot of spurious detections. For all lines draw you will find a clear collinear sequence of edge pixels supporting it. This includes the hood of the car, even if this is not of interest to your application.

untitled3
untitled2
untitled1

Another point is that the quality of the detected lines is directly related to the quality of the edge image given as input to the HT. In the image below, the dashed line between the lanes is blurred, so that the Canny edge detection does not return adequate collinear edges pixels for then. As a result, KHT is unable to detect relevant support lines among the T = 30 lines draw.

untitled4

from kht.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.