Public Member Functions | Public Attributes | Private Member Functions
vil3d_corners< srcT, destT > Class Template Reference

Class containing functions to estimate corner-ness in various ways. More...

#include <vil3d_corners.h>

List of all members.

Public Member Functions

void cornerness1 (const vil3d_image_view< srcT > &src_im, vil3d_image_view< destT > &cornerness)
 Computes cornerness measure for every pixel.

Public Attributes

vil3d_image_view< destT > grad_i
 Workspace for gradient in i.
vil3d_image_view< destT > grad_j
 Workspace for gradient in j.
vil3d_image_view< destT > grad_k
 Workspace for gradient in k.
vil3d_image_view< destT > grad_product_
 Workspace for product images.
vil3d_image_view< destT > smooth_grad_product_
 Workspace for smoothed product images.

Private Member Functions

void compute_smooth_gradient_products (const vil3d_image_view< srcT > &src_im)
 Compute gradients, products and smoothed versions.

Detailed Description

template<class srcT, class destT>
class vil3d_corners< srcT, destT >

Class containing functions to estimate corner-ness in various ways.

Implements 3D corner operators suggested by Karl Rohr

Definition at line 14 of file vil3d_corners.h.


Member Function Documentation

template<class srcT , class destT >
void vil3d_corners< srcT, destT >::compute_smooth_gradient_products ( const vil3d_image_view< srcT > &  src_im) [private]

Compute gradients, products and smoothed versions.

Definition at line 19 of file vil3d_corners.txx.

template<class srcT , class destT >
void vil3d_corners< srcT, destT >::cornerness1 ( const vil3d_image_view< srcT > &  src_im,
vil3d_image_view< destT > &  cornerness 
)

Computes cornerness measure for every pixel.

At each pixel, computes det(N)/trace(N), where N is a matrix generated by smoothing over gradient product matrices M = (gi, gj, gk)' * (gi, gj, gk), where gi = i-gradient at a pixel etc.

This is the Op3 corner operator described by Rohr.

Definition at line 70 of file vil3d_corners.txx.


Member Data Documentation

template<class srcT , class destT >
vil3d_image_view<destT> vil3d_corners< srcT, destT >::grad_i

Workspace for gradient in i.

Definition at line 31 of file vil3d_corners.h.

template<class srcT , class destT >
vil3d_image_view<destT> vil3d_corners< srcT, destT >::grad_j

Workspace for gradient in j.

Definition at line 33 of file vil3d_corners.h.

template<class srcT , class destT >
vil3d_image_view<destT> vil3d_corners< srcT, destT >::grad_k

Workspace for gradient in k.

Definition at line 35 of file vil3d_corners.h.

template<class srcT , class destT >
vil3d_image_view<destT> vil3d_corners< srcT, destT >::grad_product_

Workspace for product images.

Definition at line 38 of file vil3d_corners.h.

template<class srcT , class destT >
vil3d_image_view<destT> vil3d_corners< srcT, destT >::smooth_grad_product_

Workspace for smoothed product images.

Definition at line 40 of file vil3d_corners.h.


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