Skip to main content

DensifyArgs

Struct DensifyArgs 

Source
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: PathBuf

image_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: String

PatchMatch 백엔드(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

Source§

fn group_id() -> Option<Id>

Report the ArgGroup::id for this set of arguments
Source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

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 more
Source§

impl Debug for DensifyArgs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for DensifyArgs

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

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>

Assign values from ArgMatches to self.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ByRef<T> for T

Source§

fn by_ref(&self) -> &T

Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> DistributionExt for T
where T: ?Sized,

Source§

fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> T
where Self: Distribution<T>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Imply<T> for U
where T: ?Sized, U: ?Sized,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

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

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V