help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HoughPeaks function


From: Avinoam Kalma
Subject: HoughPeaks function
Date: Wed, 7 Nov 2018 07:46:21 +0200

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

 

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]