OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimRgbToHsvSource.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: Garrett Potts
9 //
10 //*************************************************************************
11 // $Id: ossimRgbToHsvSource.h 22724 2014-04-10 16:27:46Z gpotts $
12 #ifndef ossimRgbToHsvSource_HEADER
13 #define ossimRgbToHsvSource_HEADER
15 
17 {
18 public:
21 
22  virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& tileRect,
23  ossim_uint32 resLevel=0);
24 
25  virtual ossimScalarType getOutputScalarType() const;
26  virtual ossim_uint32 getNumberOfOutputBands()const;
27  virtual double getNullPixelValue()const;
28  virtual double getMinPixelValue(ossim_uint32 band=0)const;
29  virtual double getMaxPixelValue(ossim_uint32 band=0)const;
30 
31  virtual void initialize();
32 
33 protected:
34  virtual ~ossimRgbToHsvSource();
35 
39  void allocate();
40 
43 
45 };
46 
47 #endif
virtual double getNullPixelValue() const
ossimRefPtr< ossimImageData > theBlankTile
virtual ossim_uint32 getNumberOfOutputBands() const
Returns the number of bands in a tile returned from this TileSource.
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
void allocate()
Called on first getTile, will initialize all data needed.
ossimScalarType
virtual double getMinPixelValue(ossim_uint32 band=0) const
Returns the min pixel of the band.
virtual ossimRefPtr< ossimImageData > getTile(const ossimIrect &tileRect, ossim_uint32 resLevel=0)
ossimRefPtr< ossimImageData > theTile
virtual ossimScalarType getOutputScalarType() const
This will be used to query the output pixel type of the tile source.
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.