[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin_base/vigra_ext/impexalpha.hxx File Reference

#include <iostream>
#include <vigra/imageiterator.hxx>
#include <vigra/transformimage.hxx>
#include <vigra/initimage.hxx>
#include <vigra/numerictraits.hxx>
#include <vigra/impex.hxx>

Include dependency graph for impexalpha.hxx:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  vigra

Classes

struct  vigra::MaskConv< vigra::UInt8 >
struct  vigra::MaskConv< vigra::UInt16 >
struct  vigra::MaskConv< vigra::Int16 >
struct  vigra::MaskConv< vigra::UInt32 >
struct  vigra::MaskConv< vigra::Int32 >
struct  vigra::MaskConv< float >
struct  vigra::MaskConv< double >
class  vigra::MultiImageMaskAccessor2< Iter1, Acc1, Iter2, Acc2 >
class  vigra::MultiImageVectorMaskAccessor4< Iter1, Acc1, Iter2, Acc2 >

Functions

template<class SrcIterator, class SrcAccessor, class AlphaIterator, class AlphaAccessor>
void exportImageAlpha (vigra::triple< SrcIterator, SrcIterator, SrcAccessor > image, std::pair< AlphaIterator, AlphaAccessor > alpha, vigra::ImageExportInfo const &info, vigra::VigraTrueType)
template<class SrcIterator, class SrcAccessor, class AlphaIterator, class AlphaAccessor>
void exportImageAlpha (vigra::triple< SrcIterator, SrcIterator, SrcAccessor > image, std::pair< AlphaIterator, AlphaAccessor > alpha, vigra::ImageExportInfo const &info, vigra::VigraFalseType)
template<class SrcIterator, class SrcAccessor, class AlphaIterator, class AlphaAccessor>
void exportImageAlpha (vigra::triple< SrcIterator, SrcIterator, SrcAccessor > image, std::pair< AlphaIterator, AlphaAccessor > alpha, vigra::ImageExportInfo const &info)
 export an image with a differently typed alpha channel.
template<class DestIterator, class DestAccessor, class AlphaIterator, class AlphaAccessor>
void importImageAlpha (vigra::ImageImportInfo const &info, std::pair< DestIterator, DestAccessor > image, std::pair< AlphaIterator, AlphaAccessor > alpha, vigra::VigraFalseType)
template<class DestIterator, class DestAccessor, class AlphaIterator, class AlphaAccessor>
void importImageAlpha (vigra::ImageImportInfo const &info, std::pair< DestIterator, DestAccessor > image, std::pair< AlphaIterator, AlphaAccessor > alpha, vigra::VigraTrueType)
template<class DestIterator, class DestAccessor, class AlphaIterator, class AlphaAccessor>
void importImageAlpha (vigra::ImageImportInfo const &info, vigra::pair< DestIterator, DestAccessor > image, std::pair< AlphaIterator, AlphaAccessor > alpha)
 import an image with a differently typed alpha channel.


Function Documentation

template<class SrcIterator, class SrcAccessor, class AlphaIterator, class AlphaAccessor>
void exportImageAlpha vigra::triple< SrcIterator, SrcIterator, SrcAccessor >  image,
std::pair< AlphaIterator, AlphaAccessor >  alpha,
vigra::ImageExportInfo const &  info
 

export an image with a differently typed alpha channel.

This function handles the merging of the images and the scales the alpha channel to the correct values.

can write to all output formats that support 4 channel images. (currently only png and tiff).

template<class SrcIterator, class SrcAccessor, class AlphaIterator, class AlphaAccessor>
void exportImageAlpha vigra::triple< SrcIterator, SrcIterator, SrcAccessor >  image,
std::pair< AlphaIterator, AlphaAccessor >  alpha,
vigra::ImageExportInfo const &  info,
vigra::VigraFalseType 
 

template<class SrcIterator, class SrcAccessor, class AlphaIterator, class AlphaAccessor>
void exportImageAlpha vigra::triple< SrcIterator, SrcIterator, SrcAccessor >  image,
std::pair< AlphaIterator, AlphaAccessor >  alpha,
vigra::ImageExportInfo const &  info,
vigra::VigraTrueType 
 

template<class DestIterator, class DestAccessor, class AlphaIterator, class AlphaAccessor>
void importImageAlpha vigra::ImageImportInfo const &  info,
vigra::pair< DestIterator, DestAccessor >  image,
std::pair< AlphaIterator, AlphaAccessor >  alpha
 

import an image with a differently typed alpha channel.

This function loads an image, and splits it into a color image and a separate alpha channel, the alpha channel should be a 8 bit image.

If the image doesn't contain any alpha channel, a completely white one is created.

can write to all output formats that support 4 channel images. (currently only png and tiff).

template<class DestIterator, class DestAccessor, class AlphaIterator, class AlphaAccessor>
void importImageAlpha vigra::ImageImportInfo const &  info,
std::pair< DestIterator, DestAccessor >  image,
std::pair< AlphaIterator, AlphaAccessor >  alpha,
vigra::VigraTrueType 
 

template<class DestIterator, class DestAccessor, class AlphaIterator, class AlphaAccessor>
void importImageAlpha vigra::ImageImportInfo const &  info,
std::pair< DestIterator, DestAccessor >  image,
std::pair< AlphaIterator, AlphaAccessor >  alpha,
vigra::VigraFalseType 
 


Generated on Mon Sep 20 01:01:31 2010 for Hugintrunk by doxygen 1.3.9.1