[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

deghosting/threshold.h File Reference

#include <vector>
#include <boost/shared_ptr.hpp>
#include <vigra/stdimage.hxx>
#include <vigra/transformimage.hxx>
#include "deghosting.h"

Include dependency graph for threshold.h:

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.


vector< BImagePtrthreshold (const vector< FImagePtr > &inputImages, const double threshold, const uint16_t flags)
 Threshold function used for creating alpha masks for images.


const uint16_t ONE_UNMASKED = 0
const uint16_t THRESHOLD_DONTCARE = 1

Function Documentation

vector<BImagePtr> threshold const vector< FImagePtr > &  inputImages,
const double  threshold,
const uint16_t  flags

Threshold function used for creating alpha masks for images.

const vector<FImagePtr> vector of images
const int threshold all pixels above this thresshold are set to 255, others to 0
const uint16_t flags flags for setting the behavior possible values are: THRESHOLD_DONTCARE – applies only simple threshold ONE_UNMASKED – if pixel should be black in all images after applying threshold leave it in one image (where the pixel value is highest) white, default

Variable Documentation

const uint16_t ONE_UNMASKED = 0

const uint16_t THRESHOLD_DONTCARE = 1

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