Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxNJetData.h

00001 /*
00002  *  Copyright (c) 2000, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *
00007  *  Dennis Koelma   (koelma@wins.uva.nl)
00008  *  Jan-Mark Geusebroek (mark@wins.uva.nl)
00009  *
00010  */
00011 
00012 
00013 #ifndef HxNJetData_h
00014 #define HxNJetData_h
00015 
00016 #include "HxImageRep.h"
00017 #include <vector>
00018 
00019 
00020 class HxNJetData : public HxRcObject {
00021 
00022 public:
00023                             HxNJetData();
00024 
00025     virtual                 ~HxNJetData();
00026 
00027     int                     ident() const;
00028 
00029     int                     nrComponents() const;
00030     int                     isColor() const;
00031 
00032     HxImageRep              getL(int nr) const;
00033     HxImageRep              getJ(int nr) const;
00034     HxImageRep              getM(int nr) const;
00035 
00036     HxImageRep              getLw();
00037     HxImageRep              getJw();
00038     HxImageRep              getMw();
00039 
00040     void                    rotate(double phi);
00041     void                    rotate(HxImageRep phi);
00042     void                    resample(double fac);
00043     void                    truncate(int order);
00044     void                    normalize(double scale);
00045 
00046                             // These are for construction only
00047     void                    addL(HxImageRep im);
00048     void                    addJ(HxImageRep im);
00049     void                    addM(HxImageRep im);
00050 
00051 private:
00052     static int              _nr;
00053     int                     _ident;
00054     std::vector<HxImageRep> _Ljet; // The L components
00055     std::vector<HxImageRep> _Jjet; // The J components
00056     std::vector<HxImageRep> _Mjet; // The M components
00057     HxImageRep              _Lw, _Jw, _Mw; // The gradient magnitudes
00058 };
00059 
00060 #endif

Generated on Tue Feb 3 14:18:40 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001