pub struct DensifyArgs {Show 42 fields
pub input_path: PathBuf,
pub output_path: PathBuf,
pub image_path: Option<PathBuf>,
pub max_image_size: i64,
pub number_views: usize,
pub pm_backend: String,
pub mvs_profile: String,
pub window_radius: Option<i32>,
pub window_step: Option<i32>,
pub max_levels: Option<usize>,
pub max_images: Option<usize>,
pub fusion_mode: Option<String>,
pub fusion_min_views: Option<usize>,
pub fusion_depth_error: Option<f64>,
pub fusion_normal_error: Option<f64>,
pub fusion_reproj_error: Option<f64>,
pub fusion_residual: Option<String>,
pub residual_min_views: Option<usize>,
pub residual_depth_error: Option<f64>,
pub residual_normal_error: Option<f64>,
pub residual_min_dist: Option<f64>,
pub fusion_mark_used: Option<bool>,
pub fusion_mark_radius: Option<usize>,
pub fusion_num_images: Option<usize>,
pub geo_iters: Option<u32>,
pub geo_rounds: Option<u32>,
pub fusion_inverse_variance: Option<bool>,
pub filter_min_views: Option<u32>,
pub filter_geom_error: Option<f32>,
pub filter_min_ncc: Option<f32>,
pub remove_speckles: Option<bool>,
pub fill_holes: Option<bool>,
pub diversity_decay: Option<f64>,
pub weak_texture_var: Option<f32>,
pub median_filter: Option<bool>,
pub stats: bool,
pub score_tau: Option<f64>,
pub score_sigma_e: Option<f64>,
pub score_sigma_theta: Option<f64>,
pub score_lambda: Option<f64>,
pub residual_out: Option<PathBuf>,
pub fusion_variants: Option<PathBuf>,
}Expand description
densify 인자.
Fields§
§input_path: PathBufimage_undistorter 출력 폴더(images/, sparse/). --image_path 를 주면 대신 왜곡 있는 모델(--input_path)을 메모리에서 보정.
output_path: PathBuf출력 PLY.
image_path: Option<PathBuf>주면 input_path 를 왜곡 있는 입력 모델로 보고 이 폴더의 영상을 메모리에서 보정한다.
max_image_size: i64왜곡 보정 최대 크기(메모리 보정 경로).
number_views: usize기준 뷰당 원천 뷰 수(≤ 32).
pm_backend: StringPatchMatch 백엔드(cuda).
mvs_profile: String프로파일(fast|quality).
window_radius: Option<i32>비용 창 반경(기본: 프로파일 값 5).
window_step: Option<i32>비용 창 표본 간격 1|2(기본: fast 2, quality 1).
max_levels: Option<usize>스케일 수 상한.
max_images: Option<usize>등록 순서로 앞 N 장만(--image_path 사용 시).
fusion_mode: Option<String>융합 방식(consistency|traversal|score).
fusion_min_views: Option<usize>일치 융합: 기준 외 일치 뷰 최소 수.
fusion_depth_error: Option<f64>융합 상대 깊이 허용치.
fusion_normal_error: Option<f64>융합 법선 허용 각(도).
fusion_reproj_error: Option<f64>융합 재투영 허용치(픽셀).
fusion_residual: Option<String>일치 융합 남은 픽셀 처리(none|release|second-pass).
residual_min_views: Option<usize>2차 융합: 기준 외 일치 뷰 최소 수(기본 2).
residual_depth_error: Option<f64>2차 융합: 상대 깊이 허용치(기본 1차의 0.5배).
residual_normal_error: Option<f64>2차 융합: 법선 허용 각(도, 기본 1차의 0.67배).
residual_min_dist: Option<f64>2차 융합: 1차 점과 이 거리(GSD 배수, 기본 0.5) 이내인 2차 점은 버림.
fusion_mark_used: Option<bool>일치 융합: 쓰인 픽셀 표시(1|0).
fusion_mark_radius: Option<usize>일치 융합: 표시 반경(픽셀).
fusion_num_images: Option<usize>일치 융합: 검사할 겹침 뷰 수.
geo_iters: Option<u32>모든 스케일의 기하 실행 반복 수 덮어쓰기.
geo_rounds: Option<u32>기하 실행 회차 수 덮어쓰기.
fusion_inverse_variance: Option<bool>일치 융합: 역분산 가중(1|0).
filter_min_views: Option<u32>깊이맵 필터: 일치 뷰 최소 수.
filter_geom_error: Option<f32>깊이맵 필터: 순·역 재투영 허용치(픽셀).
filter_min_ncc: Option<f32>깊이맵 필터: 최소 NCC.
remove_speckles: Option<bool>작은 조각 제거(1|0).
fill_holes: Option<bool>경계 인식 틈 메우기(1|0).
diversity_decay: Option<f64>이웃 선택 방향 다양성 감쇠(1 = 끔).
weak_texture_var: Option<f32>거친 스케일 후보를 더할 기준 패치 분산 문턱(0 = 끔).
median_filter: Option<bool>판독 전 5×5 중앙값 평면 필터(1|0).
stats: bool결과 점군 통계(간격·이상점·중복) 출력.
score_tau: Option<f64>점수 융합: 채택 문턱 τ(기본 2.0).
score_sigma_e: Option<f64>점수 융합: 재투영 오차 가중 σ_e(픽셀, 기본 1.0).
score_sigma_theta: Option<f64>점수 융합: 시선 사잇각 가중 σ_θ(도, 기본 2.0).
score_lambda: Option<f64>점수 융합: 자유공간 위반 벌점 계수 λ(기본 1.0).
residual_out: Option<PathBuf>2차 융합 점만 따로 쓸 PLY(--fusion-residual second-pass 일 때).
fusion_variants: Option<PathBuf>융합 변형 파일(줄마다 이름|융합 플래그들). 깊이맵은 한 번만 만들고 변형마다 <output_path 폴더>/<이름>.ply 를 쓴다.
Trait Implementations§
Source§impl Args for DensifyArgs
impl Args for DensifyArgs
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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for DensifyArgs
impl Debug for DensifyArgs
Source§impl FromArgMatches for DensifyArgs
impl FromArgMatches for DensifyArgs
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>
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>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for DensifyArgs
impl RefUnwindSafe for DensifyArgs
impl Send for DensifyArgs
impl Sync for DensifyArgs
impl Unpin for DensifyArgs
impl UnsafeUnpin for DensifyArgs
impl UnwindSafe for DensifyArgs
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
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> ⓘ
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> ⓘ
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.