pub struct FeatureExtractorArgs {Show 13 fields
pub database_path: PathBuf,
pub image_path: PathBuf,
pub image_list_path: Option<PathBuf>,
pub camera_model: String,
pub single_camera: bool,
pub single_camera_per_folder: bool,
pub existing_camera_id: Option<i64>,
pub camera_params: Option<String>,
pub default_focal_length_factor: f64,
pub max_num_features: usize,
pub max_image_size: usize,
pub use_gpu: Option<bool>,
pub sift_use_gpu: Option<bool>,
}Expand description
Arguments of feature_extractor.
Fields§
§database_path: PathBufFeature store file path (created if missing).
image_path: PathBufInput image folder.
image_list_path: Option<PathBuf>File listing the image names to process (the whole folder if absent).
camera_model: StringCamera model name.
single_camera: boolAll images share a single camera.
single_camera_per_folder: boolOne camera per folder.
existing_camera_id: Option<i64>Use an existing camera id (when >= 0).
camera_params: Option<String>Specify camera parameters directly (comma separated).
default_focal_length_factor: f64Focal length = factor x max(w, h) when there is no EXIF focal length.
max_num_features: usizeMaximum number of features per image.
max_image_size: usizeMaximum SIFT input size (pixels).
use_gpu: Option<bool>Whether to use the GPU (accepted and ignored).
sift_use_gpu: Option<bool>Whether to use the GPU (accepted and ignored).
Trait Implementations§
Source§impl Args for FeatureExtractorArgs
impl Args for FeatureExtractorArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for FeatureExtractorArgs
impl Debug for FeatureExtractorArgs
Source§impl FromArgMatches for FeatureExtractorArgs
impl FromArgMatches for FeatureExtractorArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for FeatureExtractorArgs
impl RefUnwindSafe for FeatureExtractorArgs
impl Send for FeatureExtractorArgs
impl Sync for FeatureExtractorArgs
impl Unpin for FeatureExtractorArgs
impl UnsafeUnpin for FeatureExtractorArgs
impl UnwindSafe for FeatureExtractorArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.