How to remove artifacts using change cut offs
이전 댓글 표시
Hi, I have 60000 measurements of pupil diameter recorded at 120Hz, but it includes artifacts where the diameter rapidly drops in size due to blinks or etc. How could I design a filter, or write code to delete any data point that changed quickly between consecutive measurements? E.g. reduced or increased in value by 5 over two measurements. Thank you. Ben.
채택된 답변
추가 답변 (1개)
Image Analyst
2013년 1월 21일
Do you have some known size, below which is junk data? If so, just threshold it out.
badDataIndexes = pupilDiameters < minAllowablePupilDiameter;
pupilDiameters(badDataIndexes) = []; % Remove bad data
% Need to remove those times also because now all
% elements are not the same time difference apart
% like they (presumably) used to be.
timePoints(badDataIndexes) = [];
카테고리
도움말 센터 및 File Exchange에서 Digital Filtering에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!