Hugintrunk
0.1
|
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>
Go to the source code of this file.
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... | |
Some functions to create tiff images with masks.
$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.