00001 #ifndef __IPixelFirstPcaOp__ 00002 #define __IPixelFirstPcaOp__ 00003 00037 #include <stdio.h> 00038 00039 #include "AnImageOp.hpp" 00040 00041 00042 class IPixelFirstPcaOp : public AnImageOp 00043 { 00044 private: 00045 00046 int pcaChannel; 00047 00048 public: 00049 00050 IPixelFirstPcaOp(int pca=0){pcaChannel=pca;} 00051 virtual ~IPixelFirstPcaOp(){} 00052 00053 // destination is grey 00054 virtual AnImage* filter(AnImage* src, AnImage* dest=0); 00055 00056 virtual void report(FILE* file){} 00057 }; 00058 00059 00060 #endif