Functions
contrib/mul/mfpf/mfpf_sample_region.h File Reference

Sample vector from image, assuming istep==np, pstep=1. More...

#include <mbl/mbl_chord.h>
#include <vnl/vnl_vector.h>
#include <vcl_vector.h>
#include <vcl_cstddef.h>

Go to the source code of this file.

Functions

template<class T >
void mfpf_sample_region (const T *image, vcl_ptrdiff_t jstep, unsigned np, const vcl_vector< mbl_chord > &roi, vnl_vector< double > &vec)
 Sample vector from image, assuming istep==np, pstep=1.

Detailed Description

Sample vector from image, assuming istep==np, pstep=1.

Author:
Tim Cootes

Definition in file mfpf_sample_region.h.


Function Documentation

template<class T >
void mfpf_sample_region ( const T *  image,
vcl_ptrdiff_t  jstep,
unsigned  np,
const vcl_vector< mbl_chord > &  roi,
vnl_vector< double > &  vec 
) [inline]

Sample vector from image, assuming istep==np, pstep=1.

Assumes vector already correct size, and region completely within image. Assumes vec has been sized to np*n_pixels.

Definition at line 18 of file mfpf_sample_region.h.