[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

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 >
class  vigra::Edgel
 Helper class that stores edgel attributes. More...

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.
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void differenceOfExponentialEdgeImage (SrcIterator sul, SrcIterator slr, SrcAccessor sa, DestIterator dul, DestAccessor da, double scale, GradValue gradient_threshold, DestValue edge_marker)
 Detect and mark edges in an edge image using the Shen/Castan zero-crossing detector.
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue>
void differenceOfExponentialEdgeImage (SrcIterator sul, SrcIterator slr, SrcAccessor sa, DestIterator dul, DestAccessor da, double scale, GradValue gradient_threshold)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void differenceOfExponentialEdgeImage (triple< SrcIterator, SrcIterator, SrcAccessor > src, pair< DestIterator, DestAccessor > dest, double scale, GradValue gradient_threshold, DestValue edge_marker)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue>
void differenceOfExponentialEdgeImage (triple< SrcIterator, SrcIterator, SrcAccessor > src, pair< DestIterator, DestAccessor > dest, double scale, GradValue gradient_threshold)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void differenceOfExponentialCrackEdgeImage (SrcIterator sul, SrcIterator slr, SrcAccessor sa, DestIterator dul, DestAccessor da, double scale, GradValue gradient_threshold, DestValue edge_marker)
 Detect and mark edges in a crack edge image using the Shen/Castan zero-crossing detector.
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void differenceOfExponentialCrackEdgeImage (triple< SrcIterator, SrcIterator, SrcAccessor > src, pair< DestIterator, DestAccessor > dest, double scale, GradValue gradient_threshold, DestValue edge_marker)
template<class Iterator, class Accessor, class Value>
void removeShortEdges (Iterator sul, Iterator slr, Accessor sa, unsigned int min_edge_length, Value non_edge_marker)
 Remove short edges from an edge image.
template<class Iterator, class Accessor, class Value>
void removeShortEdges (triple< Iterator, Iterator, Accessor > src, unsigned int min_edge_length, Value non_edge_marker)
template<class SrcIterator, class SrcAccessor, class SrcValue>
void closeGapsInCrackEdgeImage (SrcIterator sul, SrcIterator slr, SrcAccessor sa, SrcValue edge_marker)
 Close one-pixel wide gaps in a cell grid edge image.
template<class SrcIterator, class SrcAccessor, class SrcValue>
void closeGapsInCrackEdgeImage (triple< SrcIterator, SrcIterator, SrcAccessor > src, SrcValue edge_marker)
template<class SrcIterator, class SrcAccessor, class SrcValue>
void beautifyCrackEdgeImage (SrcIterator sul, SrcIterator slr, SrcAccessor sa, SrcValue edge_marker, SrcValue background_marker)
 Beautify crack edge image for visualization.
template<class SrcIterator, class SrcAccessor, class SrcValue>
void beautifyCrackEdgeImage (triple< SrcIterator, SrcIterator, SrcAccessor > src, SrcValue edge_marker, SrcValue background_marker)
template<class Image1, class Image2, class BackInsertable>
void internalCannyFindEdgels (Image1 const &gx, Image1 const &gy, Image2 const &magnitude, BackInsertable &edgels, std::vector< int > p)
template<class SrcIterator, class SrcAccessor, class BackInsertable>
void cannyEdgelList (SrcIterator ul, SrcIterator lr, SrcAccessor src, BackInsertable &edgels, double scale, std::vector< int > p)
 Simple implementation of Canny's edge detector.
template<class SrcIterator, class SrcAccessor, class BackInsertable>
void cannyEdgelList (triple< SrcIterator, SrcIterator, SrcAccessor > src, BackInsertable &edgels, double scale, std::vector< int > p)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImage (SrcIterator sul, SrcIterator slr, SrcAccessor sa, DestIterator dul, DestAccessor da, double scale, GradValue gradient_threshold, DestValue edge_marker)
 Detect and mark edges in an edge image using Canny's algorithm.
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImage (triple< SrcIterator, SrcIterator, SrcAccessor > src, pair< DestIterator, DestAccessor > dest, double scale, GradValue gradient_threshold, DestValue edge_marker)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImageFromGradWithThinning (SrcIterator sul, SrcIterator slr, SrcAccessor sa, DestIterator dul, DestAccessor da, GradValue gradient_threshold, DestValue edge_marker, bool addBorder)
 Detect and mark edges in an edge image using Canny's algorithm.
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImageFromGradWithThinning (triple< SrcIterator, SrcIterator, SrcAccessor > src, pair< DestIterator, DestAccessor > dest, GradValue gradient_threshold, DestValue edge_marker, bool addBorder)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImageFromGradWithThinning (SrcIterator sul, SrcIterator slr, SrcAccessor sa, DestIterator dul, DestAccessor da, GradValue gradient_threshold, DestValue edge_marker)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImageFromGradWithThinning (triple< SrcIterator, SrcIterator, SrcAccessor > src, pair< DestIterator, DestAccessor > dest, GradValue gradient_threshold, DestValue edge_marker)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImageWithThinning (SrcIterator sul, SrcIterator slr, SrcAccessor sa, DestIterator dul, DestAccessor da, double scale, GradValue gradient_threshold, DestValue edge_marker, bool addBorder)
 Detect and mark edges in an edge image using Canny's algorithm.
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImageWithThinning (triple< SrcIterator, SrcIterator, SrcAccessor > src, pair< DestIterator, DestAccessor > dest, double scale, GradValue gradient_threshold, DestValue edge_marker, bool addBorder)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImageWithThinning (SrcIterator sul, SrcIterator slr, SrcAccessor sa, DestIterator dul, DestAccessor da, double scale, GradValue gradient_threshold, DestValue edge_marker)
template<class SrcIterator, class SrcAccessor, class DestIterator, class DestAccessor, class GradValue, class DestValue>
void cannyEdgeImageWithThinning (triple< SrcIterator, SrcIterator, SrcAccessor > src, pair< DestIterator, DestAccessor > dest, double scale, GradValue gradient_threshold, DestValue edge_marker)
template<class Image1, class Image2, class BackInsertable>
void internalCannyFindEdgels3x3 (Image1 const &grad, Image2 const &mask, BackInsertable &edgels)
template<class SrcIterator, class SrcAccessor, class BackInsertable>
void cannyEdgelList3x3 (SrcIterator ul, SrcIterator lr, SrcAccessor src, BackInsertable &edgels, double scale)
 Improved implementation of Canny's edge detector.
template<class SrcIterator, class SrcAccessor, class BackInsertable>
void cannyEdgelList3x3 (triple< SrcIterator, SrcIterator, SrcAccessor > src, BackInsertable &edgels, double scale)


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

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:37 2010 for Hugintrunk by doxygen 1.3.9.1