Struct arrayfire::Features
[−]
[src]
pub struct Features { /* fields omitted */ }
A set of Array objects (usually, used in Computer vision context)
Features
struct is used by computer vision functions
to return the outcome of their operation. Typically, such output
has the following Arrays:
- X positions of the features
- Y positions of the features
- Scores of the features
- Orientations of the features
- Sizes of the features
Methods
impl Features
[src]
fn new(n: u64) -> Features
Create and return an object of type Features
This object is basically a bunch of Arrays.
fn num_features(&self) -> i64
Get total number of features found
fn xpos(&self) -> Array
Get x coordinates Array
fn ypos(&self) -> Array
Get y coordinates Array
fn score(&self) -> Array
Get score Array
fn orientation(&self) -> Array
Get orientation Array
fn size(&self) -> Array
Get features size Array
fn get(&self) -> i64
Get the internal handle for Features object
Trait Implementations
impl Clone for Features
[src]
fn clone(&self) -> Features
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more