vigra Namespace Reference

Implementation of fast vector type with support of linear algebra operations Copyright (C) 2009 Lukáš Jirkovský <l.jirkovsky@gmail.com>. More...


Classes

class  vigra::AlgTinyVector< T, SIZE >
 Fixed size vector with scalar multiplication and element-wise substraction and addition. More...
struct  vigra::NumericTraits< AlgTinyVector< T, SIZE > >
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 >
struct  vigra::PromoteTraits< RGBValue< T1, R, G, B >, T2 >

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.


Detailed Description

Implementation of fast vector type with support of linear algebra operations Copyright (C) 2009 Lukáš Jirkovský <l.jirkovsky@gmail.com>.

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

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


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

Definition at line 439 of file impexalpha.hxx.

Referenced by main().

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 
 

Definition at line 417 of file impexalpha.hxx.

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 
 

Definition at line 400 of file impexalpha.hxx.

Referenced by HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >::saveRemapped(), HuginBase::Nona::SimpleStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch().

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

Definition at line 497 of file impexalpha.hxx.

Referenced by PanoDetector::AnalyzeImage(), deghosting::Khan< PixelType >::importRGBImage(), mergeWeightedAverage(), and weightedAverageOfImageFiles().

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 
 

Definition at line 471 of file impexalpha.hxx.

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 
 

Definition at line 454 of file impexalpha.hxx.

Referenced by HuginBase::Nona::FileRemapper< ImageType, AlphaType >::getRemapped(), HuginBase::ImageCache::importAndConvertAlphaImage(), loadAndConvertImage(), LoadGrayImageAndConvert(), LoadGrayImageAndFindLines(), LoadImageAndConvert(), LoadImageAndFindLines(), HuginBase::ImageCache::loadImageSafely(), loadImagesPyr(), PT::loadImagesPyr(), main2(), and processImg().


Generated on Fri Aug 22 01:26:03 2014 for Hugintrunk by  doxygen 1.3.9.1