hugin_base/vigra_ext/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 | 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> | |
| void | 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 | createAlphaTiffImage (ImageIterator upperleft, ImageIterator lowerright, ImageAccessor a, AlphaIterator alphaUpperleft, AlphaAccessor alphaA, vigra::TiffImage *tiff) |
| template<class ImageIterator, class ImageAccessor, class AlphaIterator, class BImageAccessor> | |
| void | 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>
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
Function Documentation
|
||||||||||||||||||||
|
save an image and an alpha channel to a tiff file. so far, only gray and RGB images are supported. the alpha channel is stored with the same type as the color channels. If the alpha channels uses a different type as the color channel (for example 8 bit alpha channel, float color channels), they are converted to a sensible value. (0..1 for float alpha). |
|
||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||
|
internal function to create a RGB tiff image with alpha channel
|
|
||||||||||||||||||||||||||||||||||||||||
|
write a new Tiff directory, for a new layer
|
1.3.9.1