PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
pic::GrowCut Class Reference

#include <grow_cut.hpp>

Public Member Functions

 GrowCut ()
 GrowCut. More...
 
 ~GrowCut ()
 
ImageProcess (ImageVec imgIn, Image *imgOut)
 Process. More...
 

Static Public Member Functions

static bool checkImage (Image *img, int width, int height, int channels)
 checkImage More...
 
static ImagefromStrokeImageToSeeds (Image *strokes, Image *out)
 fromStrokeImageToSeeds More...
 
static ImagegetMaskAsImage (Image *state, Image *out)
 getMaskAsImage More...
 
static Imageexecute (Image *img, Image *seeds, Image *imgOut)
 

Protected Attributes

FilterGrowCut flt
 
FilterMaxfltMax
 
Imageimg_max
 
Imagestate_next
 

Constructor & Destructor Documentation

◆ GrowCut()

pic::GrowCut::GrowCut ( )
inline

◆ ~GrowCut()

pic::GrowCut::~GrowCut ( )
inline

Member Function Documentation

◆ checkImage()

static bool pic::GrowCut::checkImage ( Image img,
int  width,
int  height,
int  channels 
)
inlinestatic

checkImage

Parameters
img
width
height
channels
Returns

◆ execute()

static Image* pic::GrowCut::execute ( Image img,
Image seeds,
Image imgOut 
)
inlinestatic

◆ fromStrokeImageToSeeds()

static Image* pic::GrowCut::fromStrokeImageToSeeds ( Image strokes,
Image out 
)
inlinestatic

fromStrokeImageToSeeds

Parameters
strokes
out
Returns

◆ getMaskAsImage()

static Image* pic::GrowCut::getMaskAsImage ( Image state,
Image out 
)
inlinestatic

getMaskAsImage

Parameters
state
Returns

◆ Process()

Image* pic::GrowCut::Process ( ImageVec  imgIn,
Image imgOut 
)
inline

Process.

Parameters
imgIn
imgOut
Returns

Member Data Documentation

◆ flt

FilterGrowCut pic::GrowCut::flt
protected

◆ fltMax

FilterMax* pic::GrowCut::fltMax
protected

◆ img_max

Image* pic::GrowCut::img_max
protected

◆ state_next

Image * pic::GrowCut::state_next
protected

The documentation for this class was generated from the following file: