HoughPeaks function

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

HoughPeaks function

Avinoam

Hi,

 

As I wrote before, for an octave version of houghpeaks, please use the code in [1].

If you have problems with that code, you can report there.

 

In your (mathworks copyrighted) version of houghpeaks the calling is

 

houghpeaks(h, numpeaks, threshold, nhood)

 

so if you use:

 

P=houghpeaks(H,5,'threshhold',ceil(0.3*max(H(:))));

 

Then threshold gets the value ''threshhold' and nhood gets the value

ceil(0.3*max(H(:))).

 

Calling to your function

 

P=houghpeaks(H,5 ,ceil(0.3*max(H(:))));

 

Should work.

 

Good luck,

 

Avinoam

 

[1] https://savannah.gnu.org/patch/?9407