compare images 2 signal and indentify difference
4 ビュー (過去 30 日間)
古いコメントを表示
I need to compare outputs of ultrasonic scan of one with no damage to one with damage. The results are in image form and I used a graph digitizer to extract the graph and has saved it as a csv file.
I have absolutely no basis in matlab or any other cording enviornments but i was able to generate a plot of the signals.
na=readmatrix('Default Dataset.csv');
x= na(:,1);
y=na(:,2);
na2=readmatrix('Default Dataset (1).csv');
x1= na2(:,1);
y1=na2(:,2);
plot (x,y);
hold on
plot (x1,y1)
I tried comparing the same as imgaes but it doesnt give any desired results
When trying to create a signal, it says the data intervals are irregular and I'm stuck at this point. Is there another way to proceed forward and compare the peaks of the graphs ?
0 件のコメント
採用された回答
Image Analyst
2022 年 8 月 13 日
Mathworks had a seminar/demo of this using Deep Learning to look at spectrograms of ECG signals. Maybe you could apply that but you'd need dozens or hundreds of signals that were labeled as normal or defective.
Lots more hits here:
3 件のコメント
Walter Roberson
2022 年 8 月 15 日
編集済み: Walter Roberson
2022 年 8 月 18 日
Assuming that you have a 2D array Signal that has one column for each distinct signal (so time proceeds with increasing rows), and assuming you know the sample rate in Hz:
dt = 1/Sample_Rate; %or assign dt directly if you know it
nsamp = size(Signal,1);
timevec = (0:nsamp-1).' * dt;
time_and_Signal = [timevec, Signal];
writematrix(time_and_Signal, 'NameOfCSVFileGoesHere.csv');
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Transforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!