Skip to content

Commit

Permalink
minor fixes and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-loi committed Dec 12, 2022
1 parent 1dc31fa commit 46bdee8
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions hdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ using namespace cimg_library;
/**
* @brief Map LDR images to HDR
*
* @tparam T
* @param LDR_images
* @return CImg<T>
* @tparam T the integral type of the pixel
* @param LDR_images a CImg<T> object containing the LDR images
* @return CImg<T> a CImg<T> object containing the HDR image
*/
template<typename T>
CImg<T> LDR_to_HDR(CImg<T> const& LDR_images);
Expand Down Expand Up @@ -55,10 +55,9 @@ CImg<T> compute_saturation(CImg<T> const& LDR_images);
* @brief Compute the exposure of the LDR images
*
* @tparam T the integral type of the pixel
* @param LDR_images
* @param LDR_images a CImg<T> object containing the LDR images
* @return CImg<T> a CImg<T> object containing the exposure of the LDR images
*/
*/
template<typename T>
CImg<T> compute_wexp(CImg<T> const& LDR_images);

Expand All @@ -67,8 +66,8 @@ CImg<T> compute_wexp(CImg<T> const& LDR_images);
* @brief Fuse the LDR images
*
* @tparam T the integral type of the pixel
* @param LDR_images
* @param weights
* @param LDR_images a CImg<T> object containing the LDR images
* @param weights a CImg<T> object containing the weights for each LDR image
* @return CImg<T>
*/
template<typename T>
Expand All @@ -78,8 +77,8 @@ CImg<T> fuse_LDR(CImg<T> const& LDR_images, CImg<T> const& weights);
* @brief Reconstruction of the HDR image from the Laplacian pyramid
*
* @tparam T the integral type of the pixel
* @param fused_laplacian
* @return CImg<T>
* @param fused_laplacian a CImg<T> object containing the Laplacian pyramid of the fused LDR images
* @return CImg<T> a CImg<T> object containing the final HDR image
*/
template<typename T>
CImg<T> reconstruct_pyramid(CImg<T> const& fused_laplacian);
Expand Down

0 comments on commit 46bdee8

Please sign in to comment.