17 #ifndef ossimImageUtil_HEADER 18 #define ossimImageUtil_HEADER 1 111 void setCreateOverviewsFlag(
bool flag);
114 bool createOverviews()
const;
124 void setCreateThumbnailsFlag(
bool flag);
129 void setThumbnailType(
const std::string& value);
134 void setThumbnailStretchType(
const std::string& value);
137 bool createThumbnails()
const;
149 void setRebuildOverviewsFlag(
bool flag );
152 bool rebuildOverviews()
const;
160 void setRebuildHistogramFlag(
bool flag );
163 bool rebuildHistogram()
const;
179 void setOverviewType(
const std::string& type );
191 void setOverviewStopDimension(
ossim_uint32 dimension );
192 void setOverviewStopDimension(
const std::string& dimension );
208 bool getTileSize(
ossimIpt& tileSize )
const;
222 void setCreateHistogramFlag(
bool flag );
225 bool createHistogram()
const;
233 void setCreateHistogramFastFlag(
bool flag );
236 bool createHistogramFast()
const;
244 void setCreateHistogramR0Flag(
bool flag );
247 bool createHistogramR0()
const;
250 bool hasHistogramOption()
const;
262 void setScanForMinMax(
bool flag );
265 bool scanForMinMax()
const;
274 void setScanForMinMaxNull(
bool flag );
277 bool scanForMinMaxNull()
const;
286 void setCompressionQuality(
const std::string& quality );
298 void setCompressionType(
const std::string& type );
304 void setCopyAllFlag(
bool flag );
310 bool getCopyAllFlag()
const;
316 void setDumpFilteredImageListFlag(
bool flag );
324 bool getDumpFilterImagesFlag()
const;
330 void setInternalOverviewsFlag(
bool flag );
336 bool getInternalOverviewsFlag()
const;
344 void setOutputDirectory(
const std::string& directory );
353 void setOutputFileNamesFlag(
bool flag );
359 bool getOutputFileNamesFlag()
const;
365 void setOverrideFilteredImagesFlag(
bool flag );
373 bool getOverrideFilteredImagesFlag()
const;
384 void setNumberOfThreads(
const std::string& threads );
387 const std::vector<std::string>& getFilteredImages()
const;
396 std::vector<std::string>& getFilteredImages();
401 bool keyIsTrue(
const std::string& key )
const;
417 void initializeDefaultFilterList();
420 void dumpFilteredImageList()
const;
423 bool& consumedHistogramOptions,
424 bool& consumedCmmOptions);
430 bool& consumedHistogramOptions);
439 bool hasCmmOption()
const;
456 void outputOverviewWriterTypes()
const;
468 void getOverviewType(std::string& type)
const;
487 int getThumbnailStretchType()
const;
488 std::string getThumbnailType()
const;
495 void addOption(
const std::string &key,
ossim_uint32 value);
496 void addOption(
const std::string& key,
const std::string& value );
504 void executePrepCommands()
const;
510 void executePostCommands()
const;
513 void executeCommands(
const std::string& prefix,
518 const std::string& prefix,
519 const std::string& commandKey,
527 void gsubDate(
const std::string& commandPrefix,
std::vector< std::string > m_filteredImages
Hold images we never want to process.
ossimReferenced allows for shared object ref counting if the reference count ever gets to 0 or less i...
ossimFileWalker * m_fileWalker
Utility class to walk through directories and get a list of files to process.
OSSIM_DLL ossim_uint32 getNumberOfThreads()
Get the number threads to use from ossimPreferences or ossim::Thread.
unsigned int ossim_uint32
ossim_int32 m_errorStatus
This class defines an abstract Handler which all image handlers(loaders) should derive from...
ossimRefPtr< ossimKeywordlist > m_kwl
Holds all options passed into intialize except writer props.
virtual void processFile(const ossimFilename &file)=0
Pure virtual processFile method.