Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Houghpeaks
Replies: 2   Last Post: May 19, 2009 12:33 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Pradyumna A

Posts: 3
Registered: 5/19/09
Re: Houghpeaks
Posted: May 19, 2009 12:33 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Steve Eddins <Steve.Eddins@mathworks.com> wrote in message <guulnc$5jn$1@fred.mathworks.com>...
> Pradyumna A wrote:
> > I have a problem with the function houghpeaks in the image processing tool box.
> > When I use the command
> > P = houghpeaks(H,4);
> >
> > It returns P as a 1x4 matrix rather than 2x4 (as said in the documentation of houghpeaks function).
> >
> > the piece of code I am using is here:
> >
> > im = imread('test.tif')
> > imB = rgb2gray(im);
> > BW = edge(imB,'canny',[0.3]);
> > [H,T,R]=hough(BW);
> > P = houghpeaks(H,4);
> >
> > Can somebody help me ?

>
> Possibly you are using the function houghpeaks from the book Digital
> Image Processing Using MATLAB, 2004. That function has a different
> interface than the houghpeaks function in the Image Processing Toolbox.
>
> ---
> Steve Eddins
> http://blogs.mathworks.com/steve/


Hello Steve Eddins,

Thank you very much for the reply. The problem was precisely that.
I had added the functions from the Book long time ago and had forgotten to remove it !

---
Pradyumna A


Date Subject Author
5/19/09
Read Houghpeaks
Pradyumna A
5/19/09
Read Re: Houghpeaks
Steve Eddins
5/19/09
Read Re: Houghpeaks
Pradyumna A

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.