erosion and dilation in signal processing
Ältere Kommentare anzeigen
we need codes for erosion and dilation in signal processing...as imdilate and imerode functions can only be used in image processing..
Akzeptierte Antwort
Weitere Antworten (1)
shelley
am 22 Aug. 2014
0 Stimmen
Yes, it is doable. It is better to binarize the signal first, and then use the command like
sel=strel('line',120,90);
%the length 120 depends on how big the gap you want to close/seal.
%the degree 90 or 0 depends on your 1D signal is in vector or row format;
results=imdilate(1Dsig,sel);
Kategorien
Mehr zu Morphological Operations finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!