FFT - distinguish 2 waveforms

2 visualizaciones (últimos 30 días)
Chris Loizou
Chris Loizou el 5 de Jun. de 2017
Editada: Chris Loizou el 5 de Jun. de 2017
Hello everyone,
So, I have a video 158x378x257, in the video, there are some veins where at each pulse they gradually get bright and then gradually dark. The rest is tissue. Due to noise and movement, there is a variation in pixel intensities. I want to make ever pixel zero (tissue) except those that have an "almost" constant frequency (veins). I want somehow to find the resonant frequency so for the veins I guess the resonant frequency will be constant for the veins and for the tissue due to noise will be much higher or much lower.
So I want to know how to plot the FFT of the two datasets A&B and able to apply a rule to make tissue pixel values=0.
A)Dataset which I'm interested and I want to separate from other (but includes noise)(veins)
[1450;1317;985;901;278;295;436;287;320;753;587;416;479;575;1081;1083;1346;1525;1231;1205;2362;2146;2107;2078;1115;878;828;813;558;534;575;541;540;326;225;281;287;327;293;309;528;939;1317;1800;2211;2582;2769;3054;2961;2492;2574;2323;1864;2126;1597;1524;1841;1373;1342;1463;1235;982;819;738;664;549;461;587;1349;1994;2222;2652;2784;2402;2086;2234;1824;1797;1792;986;746;740;815;543;742;905;551;647;583;521;604;578;530;1223;2074;2696;3053;3225;3515;3246;3080;2597;2555;1975;1785;1460;1113;1133;922;916;1292;967;967;1286;846;620;926;1002;652;846;1318;1998;3042;3248;3224;3207;3235;3090;2610;2977;2579;2488;2445;2134;1711;1473;1161;906;833;889;947;924;661;446;499;477;502;1433;3036;3069;3561;3569;3647;3504;3552;3177;1838;1902;1942;1072;716;718;637;482;392;381;561;451;337;25;463;428;307;679;1409;1885;2582;3086;3083;3230;2844;2839;2555;2395;1952;1428;1166;1187;988;880;704;408;613;602;655;546;249;252;402;498;1086;2030;2137;1878;2009;3220;3099;2949;3134;3002;2679;2349;2213;2042;1920;1876;1342;912;1086;846;775;465;449;462;340;419;576;1086;1870;2082;2805;3275;3427;3356;3332;3189;2787;1942;1756;1342;1326;1381;1191;1463;1077;1102;1199;702;537;603;373;524;754;799;1628;2882;0]
B)Dataset which I'm not interested and I want to make it zero(tissue) [3368;2915;2178;1830;2147;3100;3067;2696;3298;3156;2663;2619;2700;2482;2480;2357;2250;1334;1763;1956;2588;3328;3182;2402;2030;1790;1499;1555;1584;1581;1768;2412;1857;1997;2201;2189;2358;2671;2594;1842;1548;1183;976;1360;2050;1720;1338;1100;1115;1363;1537;993;834;1018;1374;1363;905;899;789;842;1217;1693;1732;1952;2163;2998;3183;2289;1764;1816;2287;1717;1305;1693;2340;2063;2662;2748;2404;1875;1984;2152;2510;2833;2725;2851;2783;3022;2801;2273;1899;1950;1707;1936;2432;2071;2076;2240;2140;1718;1759;2004;1803;1844;1844;1657;1481;1957;2227;1872;1655;1293;1493;2147;2562;2573;2291;1861;1546;1738;1704;779;951;944;773;1790;1716;1271;1639;1853;1723;1665;1921;1662;1688;1771;2194;2216;2589;2930;2617;1781;1418;1709;1836;1460;1323;1300;1414;1404;1087;1418;1460;1657;2270;2672;3161;2157;1649;1805;2407;2492;2243;2245;2731;2478;2288;2274;1669;2230;2572;2302;1860;1877;2126;1670;1753;2396;2468;2559;2924;2669;2939;3092;2641;2199;2464;2569;2700;2820;2707;2687;2759;2600;2495;2190;2332;2468;2544;2147;1594;1968;2032;2104;1986;2113;2032;2044;1733;1762;1545;1682;1576;1733;2149;1797;1583;1643;1567;1199;1418;1791;1586;1648;1738;1588;1432;1154;1226;1137;1415;1711;1802;1786;1950;1735;266;1081;1099;967;1084;1346;1693;1785;1459;1138;1309;1432;1359;1554;2325;2520;2001;2261;0]
Thank you for your help. If you do have any questions please let me know

Respuestas (0)

Categorías

Más información sobre Parametric Spectral Estimation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by