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. |
Sample vector from image, assuming istep==np, pstep=1.
Definition in file mfpf_sample_region.h.
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.