00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef FILTER_RESIZE_H
00019 #define FILTER_RESIZE_H
00020
00021 #include <odindata/filter_step.h>
00022
00023 class FilterResize : public FilterStep {
00024
00025 JDXint newsize[3];
00026
00027 STD_string label() const {return "resize";}
00028 STD_string description() const {return "Spatial resize of image data";}
00029 bool process(Data<float,4>& data, Protocol& prot) const;
00030 FilterStep* allocate() const {return new FilterResize();}
00031 void init();
00032 };
00033
00035
00036 class FilterResample : public FilterStep {
00037
00038 JDXint newsize;
00039
00040 STD_string label() const {return "resample";}
00041 STD_string description() const {return "Temporal resize of image data";}
00042 bool process(Data<float,4>& data, Protocol& prot) const;
00043 FilterStep* allocate() const {return new FilterResample();}
00044 void init();
00045 };
00046
00048
00049 class FilterIsotrop : public FilterStep {
00050 JDXfloat size;
00051 STD_string label() const {return "isotrop";}
00052 STD_string description() const {return "make image voxels isotrop through interpolation (image geometry will not change)";}
00053 bool process(Data<float,4>& data, Protocol& prot) const;
00054 FilterStep* allocate() const {return new FilterIsotrop();}
00055 void init();
00056 };
00057
00058 #endif