Functions
contrib/mul/ipts/ipts_entropy_pyramid.cxx File Reference

Compute local entropy at each level of a scale space pyramid. More...

#include "ipts_entropy_pyramid.h"
#include "ipts_local_entropy.h"
#include <vimt/vimt_scale_pyramid_builder_2d.h>
#include <vcl_cassert.h>

Go to the source code of this file.

Functions

void ipts_entropy_pyramid (const vimt_image_2d_of< vxl_byte > &image, vimt_image_pyramid &entropy_pyramid, vimt_image_pyramid &smooth_pyramid, double scale_step, unsigned half_width)
 Compute local entropy at each level of a scale space pyramid.
void ipts_entropy_pyramid (const vimt_image_pyramid &smooth_pyramid, vimt_image_pyramid &entropy_pyramid, unsigned half_width, int min_v, int max_v)
 Compute corner strength at each level of a scale space pyramid.

Detailed Description

Compute local entropy at each level of a scale space pyramid.

Author:
Tim Cootes

Definition in file ipts_entropy_pyramid.cxx.


Function Documentation

void ipts_entropy_pyramid ( const vimt_image_2d_of< vxl_byte > &  image,
vimt_image_pyramid entropy_pyramid,
vimt_image_pyramid smooth_pyramid,
double  scale_step,
unsigned  half_width 
)

Compute local entropy at each level of a scale space pyramid.

Build smooth gaussian pyramid from the image. smooth_pyramid will be of type vxl_byte. entropy_pyramid is set to be of type float. For each pixel in each image, compute entropy in region (2h+1)x(2h+1) centred on the pixel. Use ipts_scale_space_peaks() to get the position and scale of likely corners

Definition at line 19 of file ipts_entropy_pyramid.cxx.

void ipts_entropy_pyramid ( const vimt_image_pyramid smooth_pyramid,
vimt_image_pyramid entropy_pyramid,
unsigned  half_width,
int  min_v,
int  max_v 
)

Compute corner strength at each level of a scale space pyramid.

Compute entropy at each level of a scale space pyramid.

smooth_pyramid must be of type vxl_byte. entropy_pyramid is set to be of type float. For each pixel in each image, compute entropy in region (2h+1)x(2h+1) centred on the pixel. Use ipts_scale_space_peaks() to get the position and scale of likely corners

Definition at line 36 of file ipts_entropy_pyramid.cxx.