Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::Superpixel Class Reference

#include <Superpixel.hpp>

Collaboration diagram for Bial::Superpixel:
Collaboration graph

Static Public Member Functions

static Image< int > SuperPixel (Image< Color > &img, int sup_pixel_size, double compactness)
 Runs superpixel algorithm and returns the labels. Also img is returned with superpixel borders over the original content. More...
 
template<class D >
static Image< int > SuperVoxel (Image< D > &img, int sup_voxel_size, double compactness)
 Runs supervoxel algorithm and returns the labels. Also img is returned with supervoxel borders. More...
 

Detailed Description

Definition at line 22 of file Superpixel.hpp.

Member Function Documentation

static Image< int > Bial::Superpixel::SuperPixel ( Image< Color > &  img,
int  sup_pixel_size,
double  compactness 
)
static

Runs superpixel algorithm and returns the labels. Also img is returned with superpixel borders over the original content.

Date
2015/Set/22
Parameters
imgInput 2D color image.
sup_pixel_sizeNumber of expected pixels inside each superpixel
compactnessThe relative importance between color similarity (lower values) and spatial proximity (higher values).
Returns
Superpixel labeled image.
Warning
Note that img returns differently from SuperVoxel function.
template<class D >
static Image< int > Bial::Superpixel::SuperVoxel ( Image< D > &  img,
int  sup_voxel_size,
double  compactness 
)
static

Runs supervoxel algorithm and returns the labels. Also img is returned with supervoxel borders.

Date
2015/Set/22
Parameters
imgInput monochromatic 3D image.
sup_voxel_sizeNumber of expected pixels inside each supervoxel
compactnessThe relative importance between color similarity (lower values) and spatial proximity (higher values).
Returns
Supervoxel labeled image.
Warning
Note that img returns differently from SuperPixel function.

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