From bcd0510b4c4f91012ee6eb3877918c575a923972 Mon Sep 17 00:00:00 2001 From: Oleg Alexandrov Date: Fri, 27 Dec 2019 12:10:46 -0800 Subject: [PATCH] Minor documentation clarifications --- CMakeLists.txt | 2 +- apps/texrecon/arguments.cpp | 2 +- libs/tex/texture_view.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f0006c0a..455899b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/elibs/rayint/libs ${CMAKE_SOURCE_DIR}/elibs/mve/libs ${CMAKE_SOURCE_DIR}/elibs/eigen - ${CMAKE_SOURCE_DIR}/elibs/mapmap/ + ${CMAKE_SOURCE_DIR}/elibs/mapmap ${CMAKE_SOURCE_DIR}/elibs/mapmap/mapmap ${CMAKE_SOURCE_DIR}/elibs/mapmap/ext/dset ) diff --git a/apps/texrecon/arguments.cpp b/apps/texrecon/arguments.cpp index 2c1b8100..b9c9046f 100644 --- a/apps/texrecon/arguments.cpp +++ b/apps/texrecon/arguments.cpp @@ -55,7 +55,7 @@ Arguments parse_args(int argc, char **argv) { args.add_option('L',"labeling_file", true, "Skip view selection and use the labeling provided in the given file"); args.add_option('d',"data_term", true, - "Data term: {" + + "Data term (face area, or magnitude of image gradient times face area): {" + choices() + "} [" + choice_string(tex::DATA_TERM_GMI) + "]"); args.add_option('s',"smoothness_term", true, diff --git a/libs/tex/texture_view.h b/libs/tex/texture_view.h index b064f8b1..d46f3e41 100644 --- a/libs/tex/texture_view.h +++ b/libs/tex/texture_view.h @@ -67,7 +67,7 @@ class TextureView { */ bool valid_pixel(math::Vec2f pixel) const; - /** TODO */ + /** Returns if all three given points (that are usually vertices of a face) project in the view at valid pixels. */ bool inside(math::Vec3f const & v1, math::Vec3f const & v2, math::Vec3f const & v3) const; /** Returns the RGB pixel values [0, 1] for the give pixel location. */