Functions
quickshift.c File Reference

Quick shift - Definition. More...

#include "quickshift.h"
#include "mathop.h"
#include <string.h>
#include <math.h>
#include <stdio.h>
Include dependency graph for quickshift.c:

Go to the source code of this file.

Functions

void vl_quickshift_delete (VlQS *q)
 Delete quick shift object.
VL_INLINE vl_qs_type vl_quickshift_distance (vl_qs_type const *I, int N1, int N2, int K, int i1, int i2, int j1, int j2)
VL_INLINE vl_qs_type vl_quickshift_inner (vl_qs_type const *I, int N1, int N2, int K, int i1, int i2, int j1, int j2)
VL_EXPORT VlQSvl_quickshift_new (vl_qs_type const *image, int height, int width, int channels)
 Create a quick shift object.
VL_EXPORT void vl_quickshift_process (VlQS *q)
 Create a quick shift objet.

Detailed Description

Quick shift - Definition.

Author:
Brian Fulkerson
Andrea Vedaldi

Definition in file quickshift.c.


Function Documentation

Delete quick shift object.

-----------------------------------------------------------------

Parameters:
qquick shift object.

Definition at line 456 of file quickshift.c.

VL_INLINE vl_qs_type vl_quickshift_distance ( vl_qs_type const *  I,
int  N1,
int  N2,
int  K,
int  i1,
int  i2,
int  j1,
int  j2 
)

-----------------------------------------------------------------

Definition at line 154 of file quickshift.c.

VL_INLINE vl_qs_type vl_quickshift_inner ( vl_qs_type const *  I,
int  N1,
int  N2,
int  K,
int  i1,
int  i2,
int  j1,
int  j2 
)

-----------------------------------------------------------------

Definition at line 198 of file quickshift.c.

VL_EXPORT VlQS* vl_quickshift_new ( vl_qs_type const *  image,
int  height,
int  width,
int  channels 
)

Create a quick shift object.

-----------------------------------------------------------------

Parameters:
imagethe image.
heightthe height (number of rows) of the image.
widththe width (number of columns) of the image.
channelsthe number of channels of the image.
Returns:
new quick shift object.

The image is an array of vl_qs_type values with three dimensions (respectively widht, height, and channels). Typically, a color (e.g, RGB) image has three channels. The linear index of a pixel is computed with: channels * width* height + row + height * col.

Definition at line 231 of file quickshift.c.

VL_EXPORT void vl_quickshift_process ( VlQS q)

Create a quick shift objet.

-----------------------------------------------------------------

Parameters:
qquick shift object.

Definition at line 258 of file quickshift.c.



libvlfeat
Author(s): Andrea Vedaldi
autogenerated on Thu Jun 6 2019 20:25:52