The advantage of having to explain something like this in an exam is that the examiner probably knows already how it works and he just has to see that you understand it too. And he can ask you for clarification where he's unsure if you understood it. :-)
This is amazing. I mean my prof hasn't done it half that good in double the time. Just one little detail I had initially trouble with: we do not use y = a*x+b because a is infinite for a line that has 90 degrees.
This video was soooooooo useful! I have a paper due tomorrow on Hough Transform, and how it compares to Inverted Gradient Hash Maps. This was amazingly helpful. I was on struggle street. Thank you!!
Thank you very much for your explanation. It was exhaustive and very comprehensive. The graphics helped me a lot to understand the entire process. My compliments!
Amazing animation! For me its very hard to fallow only formulas and a lot of words. But that animation made me understand the idea behind all this! Thank you! :D
Thanks for your comment. Please like/share/subscribe. I feel the same as you, so I try hard to create animations for the theories that I suffer a little bit to understand :) Regards
Hello! I am currently working on a lane detecting program and I was having trouble understanding the concept of the Hough Line detection algorithm. You explained it very well. That you so much!!!!!!
What an absolutely great explanation. The visual of iterating over each pixel to find the whitest spots in the Hough Space was particularly helpful. Thank you!
Thanks a lot for your comment. Please like/share/subscribe. It is not the first time that people talks about Javier Bardem :) But probably is because I record in the silence of the night. Regards
At 1:55 how can the green line have a positive slope? Both (Xi, Yi) and (Xj, Yj) have a negative value for a, so in feature space both lines should have a positive slope right? I do believe that your eplanation is correct, however I still have trouble to grasp this transformation. It doesn't make sense to me how the lines are drawn in feature space.
Hi, I am not getting the exact idea behind this. So first, we are detecting edges using canny or any algorithms which leaves us with edges in the image. Now, edges can be lines in the image which is what you explained as y = ax +b where a is the slope and b is the intercept of the line. In the fitter space, I will call it as hough space, my question is "How points in the line equation of the edge becomes line in the hough space"?
Thanks for your question Please subscribe to my channel You are right, first detect edges, then use the edges to find lines. Maybe the point that you did not understand is the accumulator (which creates the figure), the more two points intercept in the hough space, the more points are aligned in the original one. This is why the location of the lines are in the maximum points of the hough image. Regards
Thales Sehn Körting sir I am using matlab , the hough function returns rho ,theta and H matrix ,as u expalined i understood what are rho and theta but what is H ?if u please elaborate it
So, I have a question. On the Generalised Hough Transform, the difference is that we don't compare with line equations. Instead we compare with the target form/path - for every rotation and scale possible. Is that it? If so, it looks very heavy to calculate that.
If I understood your question, yes you need to compute several values to find the lines. That's why we create the matrix, and use the maximum values on the matrix to point to lines. It is expensive computationally. Regards
+Mallesh Kumar thanks for your feedback. Please like/share the video and subscribe to my channel. I will put your suggestion in my videos wish list. Regards
Thanks for your feedback. Please like/share the video and subscribe ;) If you want to reuse my presentation, follow the link prezi.com/73sdixc--qtt/? Regards
So ,it's like we have points on XY plane and when we transform the y=ax+b in b=-ax+y and plot that b=-ax+y in ab plane and do it for all the given points of x,y and when we have so many lines in ab plane intersecting a common point we take it and use it as xy and plot a line that will fit maximum number of points ? is that so ?
This is one good explanation. I just have one question. Why is a point in xy plane a line in ab plane and not any other shape? Same thing or a circle? Please let me know.
Dear friend, thanks for your feedback. Please like/share the video and subscribe. Recall that the shapes we showed are for the conversion from xy space to the line equation using radius and angle (2:56). The variation of radius and angle produces the shapes. A point in xy plane is not a line in ab plane. Indeed two points in xy plane that should form a line, are represented by a single point in ab plane. If more groups of points in xy plane are part of the same line, then the point will bright more in the resultant image. Regards
Thanks for your feedback, please like/share the video and subscribe to my channel. please email me (tkorting at gmail) and I send you the code (in octave) regards
thanks for your feedback, please like/share and subscribe. I have used the 1st edition (in portuguese) from 2000, but to cite in the video, I had to find an english version. Regards
How do you know where the lines start and stop? I mean, you have detected that there is a line with r=xcos30 + ysin30. Fine. Now there are some 4 sections that lay on same line (i.e. there are gaps). How do you know where are the boundaries?
Hi Gregory, thanks for your feedback. Please like/share and subscribe. To discover the start/end points, recall that we applied the Hough transform in the image of edges (1 for edge, 0 for no edge). So with the line equation, you can iterate over x, and find the first and last y with edges. It is a basic suggestion. Regards
Hi, I am getting this error in OpenCV probablistic hough lines. please help to resolve :- ---> for x1, y1, x2, y2 in lines[0]: cv2.line(image, (x1,y1), (x2,y2),(0,255,0), 3) ValueError: not enough values to unpack (expected 4, got 2)
Can you explain me how the another way r = x cos(theta) + y sin(theta) arrived ? I assume r is the shortest distance from origin to the line. I came across henesse normal form and the shortest distance between points and planes but I still couldn't relate with the above equation. Can you explain it to me how we arrived/derived to the above equation ? Edit : found it after some deep diving into basics People who wants to know how this equation originated, the term we're looking to search and learn for is "normal form representation of a line"
YOUR video is gold sir, thank you very much !
Thanks for your golden feedback
Please subscribe to my channel
Regards
The animation is awesome! I have a very visual memory, and this helped me A LOT to understand exactly what's going on. Thank you so much!!!
Thanks for your comment.
Please like/share/subscribe.
Regards
that animation made perfect sense and know i finally get it but how the hell do i explain that in an exam hahaha
thanks for your feedback
please like/share the video and subscribe
I hope you have managed to explain in your exam ;)
regards
same here :D
The advantage of having to explain something like this in an exam is that the examiner probably knows already how it works and he just has to see that you understand it too. And he can ask you for clarification where he's unsure if you understood it. :-)
Thank you very much for the effort you have taken to explain the subject in a simplified manner..
Many thanks for your feedback.
Please like/share the video and subscribe to my channel.
Regards
Finally! It made sense both visually & mathematically. The animation of it's working is the best part. Thanks for sharing.
Thanks a lot for your feedback
Please like and share the video and subscribe to my channel
Regards
This is exactly how the universities should teach. Thank you very very much for this one.
Thanks a lot for your feedback
Please like/share/subscribe.
Regards
This is amazing. I mean my prof hasn't done it half that good in double the time.
Just one little detail I had initially trouble with: we do not use y = a*x+b because a is infinite for a line that has 90 degrees.
Thanks for the feedback.
Please subscribe to my channel.
Regards
A vertical line hasn't a =1 ?
@@aitorjara100 No it does not. A 45 degree diagonal line has a=1.
@@hermeticGreen Jesus.... sorry I don't know what the hell was I thinking when I posted it
@@aitorjara100 haha no worries
Finally i got it! I had read the same book but now i see what i was doing wrong. Thank you mate.
Thanks for your feedback,
please like the video and subscribe.
Regards
A very clear and concise explanation of the Hough Transform.
Thanks for the feedback, please subscribe to my channel
The explanation with the animation was so good. Thank you!
This video was soooooooo useful! I have a paper due tomorrow on Hough Transform, and how it compares to Inverted Gradient Hash Maps.
This was amazingly helpful. I was on struggle street. Thank you!!
Thanks for the comment, please subscribe to my channel
Thank you very much for your explanation. It was exhaustive and very comprehensive. The graphics helped me a lot to understand the entire process. My compliments!
I appreciate your comments.
Please subscribe to my channel and share this video with your peers.
Regards
Thank you! The visualization makes the workings of the algorithm a lot more clear.
+That1dude240 thanks for the positive feedback. Please like and share the video and subscribe to my channel.
Regards
Amazing animation! For me its very hard to fallow only formulas and a lot of words. But that animation made me understand the idea behind all this! Thank you! :D
Thanks for your comment.
Please like/share/subscribe.
I feel the same as you, so I try hard to create animations for the theories that I suffer a little bit to understand :)
Regards
Hello! I am currently working on a lane detecting program and I was having trouble understanding the concept of the Hough Line detection algorithm. You explained it very well. That you so much!!!!!!
Thanks for the comment, please subscribe to my channel
Well done, literally the best explanation I have found online.
Many thanks for your positive feedback
Please like/share/subscribe.
Regards
the lines in the Hough space are beautiful
your video is better than some textbooks, thank you sir!
Thanks for your feedback
Please subscribe to my channel.
Regards
This visualization really helped me understand the Hough Transform. Thanks!
+Joseph Sheedy thanks for your feedback,
please subscribe to my channel and share this video with your peers.
Regards
Such a great explanation in a very short time! Thank you!
Thanks for your comment,
please like/share/subscribe.
Regards
Hmm.. i'm studying for a test. I didn't understand my script at all... but now it's pretty simple. Thank you Thales.
thanks for this feedback
please subscribe to my channel!
Regards
What an absolutely great explanation. The visual of iterating over each pixel to find the whitest spots in the Hough Space was particularly helpful. Thank you!
Thanks for the feedback, please subscribe to my channel
Best explanation and visualization I have ever seen! Thanks so much for this.
Great explanation, OpenCV tutorials could definitely point to your videos!
Thanks a lot. I would live to have your suggestion true.
Regards
Clean and simple explanation.. Thanks!!!
thanks for your feedback,
please like the video and subscribe.
Regards
Excellent visualization. Thank you very much.
this help me with my college project.
thank you sir for sharing.
thanks for your feedback
please like the video and subscribe
regards
learned a lot.
thank you very much.
It's really good !
thanks for your feedback
plaese like/share and subscribe
Regards
Wonderfully explained sir, thanks a lot..it was soo helpful.
Thanks for the feedback, please subscribe to my channel
great explanation and the visualization helped me a lot. Thank you for this great content
Thanks for your feedback
Please subscribe to my channel
Regards
Thanks Thales. Most informative channel about AI. Please supply +1000 videos! Oh! What a wonderful day!
+Fatih ÖZTÜRK many Thanks For your ositive feedback
please like and share this video and subscribe to my Channe
l best regards
wow,this animation is great to help me undertstand the Hough Transform!!!!
Excellent explanation! Thank you very much, sir!
thanks for your positive feedback
please like/share the video and subscribe to my channel
regards
Excellent explanation. Thanks!
+Dario Dematties Reyes thanks for your feedback. Please like/share the video and subscribe to my channel. Best regards
Thank you so much. Everything is crystal clear now.
thanks for your feedback.
please like/share the video and subscribe to my channel, ok?
Regards
Great explanation, the visualization helped a lot.
thanks for your feedback
please like the video and subscribe
regards
Thank you very much for this wonderful explanation. This was really really helpful for me.
Good to know your feedback.
Please subscribe to my channel.
Regards
That's so clear and thank you!
Thanks for the good feedback
Please subscribe to my channel
Regards
ohh, it was a very clear explanation! many thanks and well done!
thanks for your feedback
please like/share the video and subscribe to my channel
regards
Thank you from the sunny Spain
Very very helpful and clear!
Just purely fantastic.
Many thanks for your feedback
Please subscribe to my channel
Regards
REALLY helpful!! helped me finally understand the maths behind it!
Amazing!! Really clear with animations. Thanks
+Alexis Gaziello thanks for your feedback.
Please like and share the video and subscribe to my channel.
Regards
Thanks for the simple explanation :)
Thanks a lot for the feedback
Please like/share the video and subscribe to my channel.
Regards
The explanation is very good. Thanks
+Shahidul Islam thanks for your feedback.
Please like and share the video and subscribe to my channel.
Regards
Thank you for this video! The animation is very helpful and your explanation is easy to follow. You also sound a bit like Javier Bardem!
Thanks a lot for your comment. Please like/share/subscribe.
It is not the first time that people talks about Javier Bardem :) But probably is because I record in the silence of the night.
Regards
Very nice explanation. Thanks!!
thanks for your feedback
Great visualization.
Thanks for your feedback,
please like and share the video and subscribe to my channel.
Regards
Awesome tutorial! Thanks man!
Thanks for your feedback, please subscribe to my channel.
Regards
Best explenation ever! Thank you!
+Angelo Conconi Thanks for your feedback
Please subscribe to my channel and share this video with your peers
Regards
thanks...for the video..it simplified the concept...
+Nupoor Tendolkar thanks for your feedback.
Please subscribe to my channel and share/ like the video.
Regards
Best video on HT
Many thanks for your feedback, please check my new video about circle detection using Hough transform
Please subscribe to my channel
Regards
thank you sir. very easy to understand.
Thanks for your comment,
please like/share/subscribe.
Regards
Awesome explaination!
Many thanks for your feedback.
Please like and share the video and subscribe to my channel.
Regards
Thales Sehn Körting sure thing! Done that!
Great explanation, thanks for making this video.
Thanks for the comment, please subscribe to my channel
thank u very much that was a very easy explanation I really enjoyed it.
many thanks for your feedback
please like/share/subscribe
Regards
Quite informative. Thank you!
+Menard Hernandez Thanks for your feedback
Please subscribe to my channel and share this video with your peers.
Regards
At 1:55 how can the green line have a positive slope? Both (Xi, Yi) and (Xj, Yj) have a negative value for a, so in feature space both lines should have a positive slope right? I do believe that your eplanation is correct, however I still have trouble to grasp this transformation. It doesn't make sense to me how the lines are drawn in feature space.
Thank you SO MUCH!
+Peter Petersen thanks for your feedback
Please like/ share the video and subscribe to my channel.
Regards
Really good and useful video :) thank you
Thanks for your feedback
Please like/share/subscribe.
Regards
Thankyouu!! Shared with my mates! :D
thanks a lot for your feedback,
please subscribe to my channel.
Regards
Yo soy tu mate ;D
great video! Found it very useful :))
thanks a bunch! :) awesome animation!
Thanks for the feedback, please subscribe to my channel
Now I know what I don't understand! Good video
Thanks for your feedback
Please subscribe to my channel
Regards
Great video, thank-you for uploading! :)
thanks for your feedback
please like/share the video and subscribe
regards
nice explanation thanks !
+Salma Eg thanks a lot for your positive feedback
Please like and share the video and subscribe to my channel
Regards
Hi, I am not getting the exact idea behind this. So first, we are detecting edges using canny or any algorithms which leaves us with edges in the image. Now, edges can be lines in the image which is what you explained as y = ax +b where a is the slope and b is the intercept of the line. In the fitter space, I will call it as hough space, my question is "How points in the line equation of the edge becomes line in the hough space"?
Thanks for your question
Please subscribe to my channel
You are right, first detect edges, then use the edges to find lines. Maybe the point that you did not understand is the accumulator (which creates the figure), the more two points intercept in the hough space, the more points are aligned in the original one. This is why the location of the lines are in the maximum points of the hough image.
Regards
thank u for your explinatio , did u work on matlab ? I need some help in that
+muhib ullah thanks for your feedback
I used octave which is similar to Matlab.
please subscribe to my channel, like/share the video
regards
Thales Sehn Körting sir I am using matlab , the hough function returns rho ,theta and H matrix ,as u expalined i understood what are rho and theta but what is H ?if u please elaborate it
muy bello y todo, pero la transformada para círculos?
Please subscribe to my channel. My last video is about circle detection.
Regards
Great video! Thank you for the explanation! :D
thanks a lot for your feedback.
Please subscribe to my channel and share this video with your peers.
Regards
very nice
Amazing video 🤘🏻
+F V thanks for your feedback.
Please like and share the video and subscribe to my channel.
Regards
amazing video, also incredible voice, you sound like javier bardem in skyfall
Thanks for the comment, please subscribe to my channel
Great video, thank you
Thanks for the feedback, please subscribe to my channel
great thanks
Thanks for the feedback.
Please subscribe to my channel.
Regards
Eu amo os seus videos que sao muito claros e didaticos. Voce eh do Parana ?
Muito obrigado pelo retorno! Sou gaúcho morando no estado de SP. Inscreva-se no canal.
Um abraço
So, I have a question. On the Generalised Hough Transform, the difference is that we don't compare with line equations. Instead we compare with the target form/path - for every rotation and scale possible. Is that it? If so, it looks very heavy to calculate that.
If I understood your question, yes you need to compute several values to find the lines. That's why we create the matrix, and use the maximum values on the matrix to point to lines. It is expensive computationally.
Regards
You are awesome 💯. thank you so much sir.
Thank you so much
thank you vary much sir may i know line detection
+Mallesh Kumar thanks for your feedback. Please like/share the video and subscribe to my channel. I will put your suggestion in my videos wish list.
Regards
muito very bueno 👍
Can anyone tell me if there is equipment out there that utilizes this principle?
lane detection systems
Thales o video é muito bom. Bem explicado. Faça um em português também. Há uma carência muito grande de videos neste nível em nossa língua.
Muito obrigado pelo comentário, por gentileza inscreva-se no canal.
Existe o canal do Hemerson Pistori com bastante conteúdo em português.
Um abraço
Thank you!
Can I have the transcript of this please
Thanks for your feedback.
Please like/share the video and subscribe ;)
If you want to reuse my presentation, follow the link
prezi.com/73sdixc--qtt/?
Regards
So ,it's like we have points on XY plane and when we transform the y=ax+b in b=-ax+y and plot that b=-ax+y in ab plane
and do it for all the given points of x,y and when we have so many lines in ab plane intersecting a common point we take it and use it as xy and plot a line that will fit maximum number of points ? is that so ?
This is one good explanation. I just have one question. Why is a point in xy plane a line in ab plane and not any other shape? Same thing or a circle?
Please let me know.
Dear friend, thanks for your feedback. Please like/share the video and subscribe.
Recall that the shapes we showed are for the conversion from xy space to the line equation using radius and angle (2:56). The variation of radius and angle produces the shapes.
A point in xy plane is not a line in ab plane. Indeed two points in xy plane that should form a line, are represented by a single point in ab plane. If more groups of points in xy plane are part of the same line, then the point will bright more in the resultant image.
Regards
Very nice explanation. Thanks. can you give me matlab code to impleminte it ?
Thanks for your feedback, please like/share the video and subscribe to my channel.
please email me (tkorting at gmail) and I send you the code (in octave) regards
Muito bom! Este video me ajudou muito com o meu Master project. A animação ajudou muito na intuição do algoritimo.
Matheus ~ Sheffield
Muito obrigado pelo feedback.
Não se esqueça de se inscrever no canal.
Um abraço
I could not find Hough Transform in 3rd edition ... Please reply ... Which edition of the book you used ?
thanks for your feedback,
please like/share and subscribe.
I have used the 1st edition (in portuguese) from 2000, but to cite in the video, I had to find an english version.
Regards
Thanks a lot
Many thanks for your positive feedback
Please like/share/subscribe.
Regards
Thank you
thanks for your feedback
please like/share the video and subscribe
regards
How do you know where the lines start and stop? I mean, you have detected that there is a line with r=xcos30 + ysin30. Fine. Now there are some 4 sections that lay on same line (i.e. there are gaps). How do you know where are the boundaries?
Hi Gregory, thanks for your feedback. Please like/share and subscribe.
To discover the start/end points, recall that we applied the Hough transform in the image of edges (1 for edge, 0 for no edge). So with the line equation, you can iterate over x, and find the first and last y with edges. It is a basic suggestion.
Regards
Thanks!
Thanks for your feedback.
Please like and share the video and subscribe to my channel.
Regards
Hi,
I am getting this error in OpenCV probablistic hough lines.
please help to resolve :-
---> for x1, y1, x2, y2 in lines[0]:
cv2.line(image, (x1,y1), (x2,y2),(0,255,0), 3)
ValueError: not enough values to unpack (expected 4, got 2)
Thank you.
Lovely sir Lovely.
Thanks for the feedback, please subscribe to my channel
Awesome video, please improve audio quality. Thank you
Thanks for the feedback, please subscribe to my channel
You are right about the sound quality. Thanks
Very good video, I like and comment
Can you explain me how the another way
r = x cos(theta) + y sin(theta) arrived ?
I assume r is the shortest distance from origin to the line.
I came across henesse normal form and the shortest distance between points and planes but I still couldn't relate with the above equation. Can you explain it to me how we arrived/derived to the above equation ?
Edit : found it after some deep diving into basics
People who wants to know how this equation originated, the term we're looking to search and learn for is "normal form representation of a line"