Peaks Not Found by findpeaks()
Afficher commentaires plus anciens
Is there any way to find peaks rather than using findpeaks() function which didn't get the peaks of the attached curve?
Réponses (1)
Image Analyst
le 4 Fév 2017
0 votes
To find peaks on an image, use imregionalmax().
5 commentaires
Ezz El-din Abdullah
le 4 Fév 2017
Image Analyst
le 4 Fév 2017
Like I said above I can't run your code until you attach the image. Can you do that? I'll check back later.
Star Strider
le 4 Fév 2017
It’s apparently in the ‘Ezz El-din Abdullah Ic.mat’ file that I downloaded and then uploaded here by that name.
I’m deleting my Answer.
Image Analyst
le 4 Fév 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
le 4 Fév 2017
Catégories
En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!