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 <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.

Namespaces

namespace  vigra_ext

Classes

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 >

Functions

void vigra_ext::createTiffDirectory (vigra::TiffImage *tiff, const std::string &pagename, const std::string &documentname, const std::string comp, uint16 page, uint16 nImg, vigra::Diff2D offset, vigra::Size2D fullSize, const vigra::ImageExportInfo::ICCProfile &icc)
 write a new Tiff directory, for a new layer
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
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
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.


Detailed Description

Some functions to create tiff images with masks.

Author:
Pablo d'Angelo <pablo.dangelo@web.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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file tiffUtils.h.


Generated on 20 Oct 2014 for Hugintrunk by  doxygen 1.4.7