#include <Superpixel.hpp>
|
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...
|
|
Definition at line 22 of file Superpixel.hpp.
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
-
img | Input 2D color image. |
sup_pixel_size | Number of expected pixels inside each superpixel |
compactness | The 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
-
img | Input monochromatic 3D image. |
sup_voxel_size | Number of expected pixels inside each supervoxel |
compactness | The 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: