/usr/include/ossim/imaging/ossimGammaRemapper.h is in libossim-dev 1.8.16-3+b1.
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | //*******************************************************************
// Copyright (C) 2002 ImageLinks Inc.
//
// License: LGPL
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Kathy Minear
//
// Description:
//
// Gamma remapper.
//
//*************************************************************************
// $Id: ossimGammaRemapper.h 15766 2009-10-20 12:37:09Z gpotts $
#ifndef ossimGammaRemapper_HEADER
#define ossimGammaRemapper_HEADER
#include <ossim/imaging/ossimImageSourceFilter.h>
class ossimGammaRemapper : public ossimImageSourceFilter
{
public:
ossimGammaRemapper(ossimObject* owner=NULL);
ossimGammaRemapper(ossimImageSource* inputSource);
ossimGammaRemapper(ossimObject* owner, ossimImageSource* inputSource);
virtual ossimString getShortName()const;
virtual void initialize();
virtual ossimRefPtr<ossimImageData> getTile(const ossimIrect& tile_rect,
ossim_uint32 resLevel=0);
/*!
* Method to the load (recreate) the state of an object from a keyword
* list. Return true if ok or false on error.
*/
virtual bool loadState(const ossimKeywordlist& kwl,
const char* prefix=0);
virtual ostream& print(ostream& os) const;
friend ostream& operator<< (ostream& os, const ossimGammaRemapper& hr);
void setMinMaxPixelValues(const vector<double>& v_min,
const vector<double>& v_max);
virtual void enableSource();
protected:
virtual ~ossimGammaRemapper();
/*!
* Method to set unset the enable flag.
*/
void verifyEnabled();
ossimRefPtr<ossimImageData> theTile;
double* theBuffer;
vector<double> theMinPixelValue;
vector<double> theMaxPixelValue;
vector<double> theGamma;
bool theUserDisabledFlag;
TYPE_DATA
};
#endif /* #ifndef ossimGammaRemapper_HEADER */
|