Peaks Not Found by findpeaks()

6 visualizzazioni (ultimi 30 giorni)
Ezz El-din Abdullah
Ezz El-din Abdullah il 4 Feb 2017
Is there any way to find peaks rather than using findpeaks() function which didn't get the peaks of the attached curve?

Risposte (1)

Image Analyst
Image Analyst il 4 Feb 2017
To find peaks on an image, use imregionalmax().
  5 Commenti
Image Analyst
Image Analyst il 4 Feb 2017
There's a bunch of stuff in there, but no IcRot variable. Here's what's there:
s =
struct with fields:
ans: 16
J: [768×1024 uint8]
scale: 0.7
I: [538×717 uint8]
info: [1×1 struct]
w: 716.8
h: 537.6
hf: [3×3 double]
Ifilt: [538×717 uint8]
bckgnd: [538×717 uint8]
I2: [538×717 uint8]
I3: [538×717 uint8]
Ic: [93×361 uint8]
hc: 355
wc: 80
d: 1
c: [30 30 51 51]
r: [131 10 10 131]
theta: 1.53955649336463
Ang: 88.2100893917539
BW: [32×355 logical]
cp: [1×456 double]
rp: [1×456 double]
cs: [1×1 struct]
yy: [1×456 double]
lined_data: [1×456 double]
x: [1×32 double]
y: [1×32 double]
lengthX: 10
samplingRateIncrease: 10
newXSamplePoints: [1×100 double]
smoothedY: [1×100 double]
slopes: [1×455 double]
i: 455
NPeaks: 55
peaks: [1×54 double]
locs: [1×54 double]
a: [1 2 0 0 0 12 2 3]
zIndSlopes: [1×220 double]
I've attached his code in test3.m.
Ezz El-din Abdullah
Ezz El-din Abdullah il 4 Feb 2017
I'm sorry for not being clear.
It's Ic variable that is [93×361 uint8].

Accedi per commentare.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by