Comments on: Showing image pixels associated with a Hough transform bin https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/?s_tid=feedtopost Retired from MathWorks in 2024 after 30 years of service. Can now be found at MATLAB Central, https://hornjourney.com, and https://matrixvalues.com. MathWorks career included image processing, toolbox development, MATLAB development and design, development team management, MATLAB design standards, Steve on Image Processing blog (https://blogs.mathworks.com/steve). Co-author of Digital Image Processing Using MATLAB (https://www.imageprocessingplace.com/DIPUM-3E/dipum3e_main_page.htm). French horn enthusiast, member of Concord Orchestra and Melrose Symphony, member of the board of Cormont Music and the Kendall Betts Horn Camp. Tue, 22 Oct 2019 20:24:37 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: Aurélie https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-24463 Wed, 07 Sep 2011 13:24:34 +0000 https://blogs.mathworks.com/steve/?p=81#comment-24463 Hello Aisling!
I actually encounter the same problem as you and I would like to know if you found an acceptable solution.
Thank you in advance.
Best regards

]]>
By: subrata datta https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-24085 Tue, 05 Apr 2011 15:56:53 +0000 https://blogs.mathworks.com/steve/?p=81#comment-24085 how many pixels are there in a particular hough peak…i need the code
plz help me

]]>
By: Steve https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-23010 Mon, 19 Apr 2010 18:35:11 +0000 https://blogs.mathworks.com/steve/?p=81#comment-23010 Gumah—Use find.

]]>
By: Gumah https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-22948 Fri, 02 Apr 2010 04:07:26 +0000 https://blogs.mathworks.com/steve/?p=81#comment-22948 hi steve,
I am doing a project about text segmentation. I used your commands:
bw2 = hough_bin_pixels(bw, theta, rho, peaks(5,:));
imshow(bw2)
to get the white pixels corresponding to some peak in my image which represents the location of that textline in the original image
could you please tell me how to get the location of that white corresponded pixels in that image
your help will be appreciated

]]>
By: Steve https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-22938 Tue, 30 Mar 2010 20:15:46 +0000 https://blogs.mathworks.com/steve/?p=81#comment-22938 Raj—Convert your color image to gray scale using rgb2gray.

]]>
By: raj patil https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-22932 Tue, 30 Mar 2010 12:53:57 +0000 https://blogs.mathworks.com/steve/?p=81#comment-22932 hello sir,
i have tried the same code of hough transform for my handwritten documet image but there is an error as your image should be two dimentional for edge function

]]>
By: Steve https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-22915 Thu, 25 Mar 2010 18:50:15 +0000 https://blogs.mathworks.com/steve/?p=81#comment-22915 Aisling—Try searching for terms such as “fiber analysis” and “texture orientation” to get some ideas.

]]>
By: Aisling https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-22884 Fri, 19 Mar 2010 18:11:28 +0000 https://blogs.mathworks.com/steve/?p=81#comment-22884 hi steve,
I’m trying to find the preferred orientation of collagen fibres in histology stains. I thought I hit the jackpot when I found the Houghlines function, but unfortunately my edges look much like those of your example above and I seem to have the same problem. For the example above you did not offer any alternative approach. Have you any thoughts on this?
Thanks,
Aisling

]]>
By: Steve https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-22662 Wed, 03 Feb 2010 01:23:43 +0000 https://blogs.mathworks.com/steve/?p=81#comment-22662 Vishnu—See the function toolbox/images/images/private/intline.m. You’ll need to make your own copy in order to call it.

I’d be interested to know more about why you need this function.

]]>
By: vishnu https://blogs.mathworks.com/steve/2006/09/01/showing-image-pixels-associated-with-a-hough-transform-bin/#comment-22660 Tue, 02 Feb 2010 21:15:46 +0000 https://blogs.mathworks.com/steve/?p=81#comment-22660 Hi Steve,

I want to whether there is any matlab command which can find the pixels lie on a line drawn by two points in the space.

Thanks in advance

Vishnu

]]>