X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkSignal.h;h=eb0ecb47c7b2421fcb2eae99f7a8f7faa151a4ec;hb=8973673f3f984656ec3552b5d963ba7b18119d39;hp=c955936860e9ea6b3fceea86345f3c7fed941e70;hpb=931a42358442f4ee4f314613c991c838d4b4e3b7;p=clitk.git diff --git a/common/clitkSignal.h b/common/clitkSignal.h index c955936..eb0ecb4 100644 --- a/common/clitkSignal.h +++ b/common/clitkSignal.h @@ -3,13 +3,13 @@ //Adapted from Signal.hh in ilr (Simon) -#include "clitkCommon.h" +#include "clitkImageCommon.h" #include "clitkIO.h" //include external library -#include +//#include #include - +#include //itk include #include "itkImage.h" #include "itkImageRegionConstIterator.h" @@ -29,7 +29,7 @@ class Signal{ typedef vector< SignalValueType > SignalType; typedef SignalType::iterator iterator; typedef SignalType::const_iterator const_iterator; - typedef vector< complex > SIGNAL_FFT_TYPE; + //typedef vector< complex > SIGNAL_FFT_TYPE; typedef itk::Image ImageType; typedef itk::Vector VectorType; @@ -84,11 +84,11 @@ class Signal{ Signal MovingAverageFilter ( unsigned int length); Signal GaussLikeFilter (); Signal NormalizeMeanStdDev(double newMean=0.5,double newStdDev=0.5); - Signal HighPassFilter (double sampPeriod, double cutOffFrequency ); - Signal LowPassFilter (double sampPeriod, double cutOffFrequency ); - double MaxFreq(const Signal &sig,SIGNAL_FFT_TYPE & fft); - void OneDForwardFourier(const Signal& input,SIGNAL_FFT_TYPE & fft); - void OneDBackwardFourier(SIGNAL_FFT_TYPE & fft, Signal &output); + //Signal HighPassFilter (double sampPeriod, double cutOffFrequency ); + //Signal LowPassFilter (double sampPeriod, double cutOffFrequency ); + //double MaxFreq(const Signal &sig,SIGNAL_FFT_TYPE & fft); + //void OneDForwardFourier(const Signal& input,SIGNAL_FFT_TYPE & fft); + //void OneDBackwardFourier(SIGNAL_FFT_TYPE & fft, Signal &output); Signal DetectLocalExtrema(unsigned int width); Signal LimPhase(); Signal MonPhase();