/usr/include/ossim/imaging/ossimRgbToHsiSource.h is in libossim-dev 2.2.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | //*******************************************************************
// Copyright (C) 2000 ImageLinks Inc.
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimRgbToHsiSource.h 15766 2009-10-20 12:37:09Z gpotts $
#ifndef ossimRgbToHsiSource_HEADER
#define ossimRgbToHsiSource_HEADER
#include <ossim/imaging/ossimImageSourceFilter.h>
class ossimRgbToHsiSource : public ossimImageSourceFilter
{
public:
ossimRgbToHsiSource();
ossimRgbToHsiSource(ossimImageSource* inputSource);
virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& tileRect,
ossim_uint32 resLevel=0);
virtual ossimScalarType getOutputScalarType() const;
virtual ossim_uint32 getNumberOfOutputBands()const;
virtual double getNullPixelValue()const;
virtual double getMinPixelValue(ossim_uint32 band=0)const;
virtual double getMaxPixelValue(ossim_uint32 band=0)const;
virtual void initialize();
protected:
virtual ~ossimRgbToHsiSource();
/**
* Called on first getTile, will initialize all data needed.
*/
void allocate();
ossimRefPtr<ossimImageData> theBlankTile;
ossimRefPtr<ossimImageData> theTile;
TYPE_DATA
};
#endif /* #ifndef ossimRgbToHsiSource_HEADER */
|