Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
tiffUtils.h File Reference

Some functions to create tiff images with masks. More...

#include <vigra/tiff.hxx>
#include <vigra/imageinfo.hxx>
#include <vigra/transformimage.hxx>
#include <vigra/functorexpression.hxx>
#include <vigra_ext/FunctorAccessor.h>
#include <hugin_utils/utils.h>
#include <tiffio.h>
Include dependency graph for tiffUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vigra_ext::CreateAlphaTiffImage< T >
 
struct  vigra_ext::CreateAlphaTiffImage< vigra::RGBValue< unsigned char > >
 
struct  vigra_ext::CreateAlphaTiffImage< vigra::RGBValue< short > >
 
struct  vigra_ext::CreateAlphaTiffImage< vigra::RGBValue< unsigned short > >
 
struct  vigra_ext::CreateAlphaTiffImage< vigra::RGBValue< int > >
 
struct  vigra_ext::CreateAlphaTiffImage< vigra::RGBValue< unsigned int > >
 
struct  vigra_ext::CreateAlphaTiffImage< vigra::RGBValue< float > >
 
struct  vigra_ext::CreateAlphaTiffImage< vigra::RGBValue< double > >
 
struct  vigra_ext::CreateAlphaTiffImage< unsigned char >
 
struct  vigra_ext::CreateAlphaTiffImage< short >
 
struct  vigra_ext::CreateAlphaTiffImage< unsigned short >
 
struct  vigra_ext::CreateAlphaTiffImage< int >
 
struct  vigra_ext::CreateAlphaTiffImage< unsigned int >
 
struct  vigra_ext::CreateAlphaTiffImage< float >
 
struct  vigra_ext::CreateAlphaTiffImage< double >
 

Namespaces

 vigra_ext
 

Functions

void vigra_ext::createTiffDirectory (vigra::TiffImage *tiff, const std::string &pagename, const std::string &documentname, const std::string comp, uint16_t page, uint16_t nImg, vigra::Diff2D offset, vigra::Size2D fullSize, const vigra::ImageExportInfo::ICCProfile &icc)
 write a new Tiff directory, for a new layer More...
 
template<class ImageIterator , class ImageAccessor , class AlphaIterator , class AlphaAccessor >
static void vigra_ext::createScalarATiffImage (ImageIterator upperleft, ImageIterator lowerright, ImageAccessor a, AlphaIterator alphaUpperleft, AlphaAccessor alphaA, vigra::TiffImage *tiff, int sampleformat)
 internal function to create a scalar tiff image with alpha channel More...
 
template<class ImageIterator , class ImageAccessor , class AlphaIterator , class AlphaAccessor >
void vigra_ext::createRGBATiffImage (ImageIterator upperleft, ImageIterator lowerright, ImageAccessor a, AlphaIterator alphaUpperleft, AlphaAccessor alphaA, vigra::TiffImage *tiff, int sampleformat)
 internal function to create a RGB tiff image with alpha channel More...
 
template<class ImageIterator , class ImageAccessor , class AlphaIterator , class AlphaAccessor >
void vigra_ext::createAlphaTiffImage (ImageIterator upperleft, ImageIterator lowerright, ImageAccessor a, AlphaIterator alphaUpperleft, AlphaAccessor alphaA, vigra::TiffImage *tiff)
 
template<class ImageIterator , class ImageAccessor , class AlphaIterator , class BImageAccessor >
void vigra_ext::createAlphaTiffImage (vigra::triple< ImageIterator, ImageIterator, ImageAccessor > src, vigra::pair< AlphaIterator, BImageAccessor > alpha, vigra::TiffImage *tiff)
 save an image and an alpha channel to a tiff file. More...
 

Detailed Description

Some functions to create tiff images with masks.

Author
Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.de

$Id$

This 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 Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see http://www.gnu.org/licenses/.

Definition in file tiffUtils.h.