Quick shift (Quick shift image segmentation)
More...
#include "generic.h"
#include "mathop.h"
Detailed Description
- Author:
- Andrea Vedaldi
-
Brian Fulkerson
Function Documentation
void vl_quickshift_delete |
( |
VlQS * |
q | ) |
|
- Parameters:
-
- Returns:
- the estimate of the density at each pixel.
- Parameters:
-
- Returns:
- for each pixel, the distance in feature space to the pixel that is its parent in the quick shift tree.
- Parameters:
-
- Returns:
- the standard deviation of the kernel used in the Parzen density estimate.
- Parameters:
-
- Returns:
- the maximum distance in the feature space between nodes in the quick shift tree.
vl_bool vl_quickshift_get_medoid |
( |
VlQS const * |
q | ) |
[inline] |
- Parameters:
-
- Returns:
true
if medoid shift is used instead of quick shift.
int * vl_quickshift_get_parents |
( |
VlQS const * |
q | ) |
[inline] |
- Parameters:
-
- Returns:
- a height x width matrix containing linearized links to the parents in the quick shift tree. If there is no parent, the parent will be set to the index of the node.
VlQS* vl_quickshift_new |
( |
vl_qs_type const * |
image, |
|
|
int |
height, |
|
|
int |
width, |
|
|
int |
channels |
|
) |
| |
- Parameters:
-
image | |
height | |
width | |
channels | |
- Returns:
- New quick shift object.
void vl_quickshift_process |
( |
VlQS * |
q | ) |
|
void vl_quickshift_set_kernel_size |
( |
VlQS * |
q, |
|
|
vl_qs_type |
sigma |
|
) |
| [inline] |
- Parameters:
-
q | quick shift object. |
sigma | standard deviation of the kernel used in the Parzen density estimate. |
- Parameters:
-
q | quick shift object. |
tau | the maximum distance in the feature space between nodes in the quick shift tree. |
void vl_quickshift_set_medoid |
( |
VlQS * |
q, |
|
|
vl_bool |
medoid |
|
) |
| [inline] |
- Parameters:
-
q | quick shift object. |
medoid | true to use kernelized medoid shift, false (default) uses quick shift. |