ImageCache.cpp File Reference

implementation of ImageCache Class More...

#include "ImageCache.h"
#include <iostream>
#include <boost/thread/thread.hpp>
#include <vigra/inspectimage.hxx>
#include <vigra/accessor.hxx>
#include <vigra/functorexpression.hxx>
#include <vigra/sized_int.hxx>
#include <vigra_ext/utils.h>
#include <vigra_ext/impexalpha.hxx>
#include <vigra_ext/Pyramid.h>
#include <vigra_ext/FunctorAccessor.h>

Include dependency graph for ImageCache.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  HuginBase

Classes

class  HuginBase::GetRange< T1 >

Defines

#define VIGRA_EXT_GETRANGE(T1, MI, MA)

Functions

 VIGRA_EXT_GETRANGE (vigra::UInt8, 0, 255)
 VIGRA_EXT_GETRANGE (vigra::Int16, 0, 32767)
 VIGRA_EXT_GETRANGE (vigra::UInt16, 0, 65535)
 VIGRA_EXT_GETRANGE (vigra::Int32, 0, 2147483647)
 VIGRA_EXT_GETRANGE (vigra::UInt32, 0, 4294967295u)
 VIGRA_EXT_GETRANGE (float, 0, 1.0f)
 VIGRA_EXT_GETRANGE (double, 0, 1.0)
template<class SrcIMG>
void convertTo8Bit (SrcIMG &src, const std::string &origType, vigra::BRGBImage &dest)


Detailed Description

implementation of ImageCache Class

Author:
Pablo d'Angelo <pablo.dangelo@web.de>
$Id$

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file ImageCache.cpp.


Define Documentation

#define VIGRA_EXT_GETRANGE T1,
MI,
MA   ) 
 

Value:

template<> \
T1 GetRange<T1>::min() \
{ \
        return MI; \
} \
template<> \
T1 GetRange<T1>::max() \
{ \
        return MA; \
} \

Definition at line 57 of file ImageCache.cpp.


Function Documentation

template<class SrcIMG>
void convertTo8Bit SrcIMG &  src,
const std::string origType,
vigra::BRGBImage &  dest
 

Definition at line 81 of file ImageCache.cpp.

References vigra_ext::applyMapping(), vigra_ext::destImage(), vigra_ext::getMaxValForPixelType(), and vigra_ext::srcImageRange().

Referenced by HuginBase::ImageCache::Entry::get8BitImage().

VIGRA_EXT_GETRANGE double  ,
,
1.  0
 

VIGRA_EXT_GETRANGE float  ,
,
1.  0f
 

VIGRA_EXT_GETRANGE vigra::UInt32  ,
,
4294967295u 
 

VIGRA_EXT_GETRANGE vigra::Int32  ,
,
2147483647 
 

VIGRA_EXT_GETRANGE vigra::UInt16  ,
,
65535 
 

VIGRA_EXT_GETRANGE vigra::Int16  ,
,
32767 
 

VIGRA_EXT_GETRANGE vigra::UInt8  ,
,
255 
 


Generated on Wed Sep 17 01:25:45 2014 for Hugintrunk by  doxygen 1.3.9.1