Skip to content

Commit

Permalink
Upgrade on HDR brackets estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Oct 1, 2024
1 parent b7c7a6b commit f6b0387
Show file tree
Hide file tree
Showing 5 changed files with 457 additions and 132 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ jobs:
meshroom_avBranch=$(git ls-remote --heads https://github.com/alicevision/Meshroom.git $GITHUB_HEAD_REF | cut -f 1)
if [ $meshroom_avBranch != "" ]; then git checkout $meshroom_avBranch; echo "Use Meshroom/$GITHUB_HEAD_REF"; fi
export MESHROOM_INSTALL_DIR=$PWD
export PYTHONPATH=$PWD:${PYTHONPATH}
export PYTHONPATH=$PWD:${ALICEVISION_ROOT}:${PYTHONPATH}
export PATH=$PATH:${ALICEVISION_ROOT}/bin
export LD_LIBRARY_PATH=${ALICEVISION_ROOT}/lib64:${DEPS_INSTALL_DIR}/lib64:${DEPS_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=${ALICEVISION_ROOT}/lib:${ALICEVISION_ROOT}/lib64:${DEPS_INSTALL_DIR}/lib64:${DEPS_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
mkdir ./outputData
cd bin/
python3 --version
Expand All @@ -121,7 +121,8 @@ jobs:
cd SfM_quality_evaluation/
# checkout a specific commit to ensure repeatability
git checkout 36e3bf2d05c64d1726cb4a0e770923794f203f98
export LD_LIBRARY_PATH=${ALICEVISION_ROOT}/lib64:${DEPS_INSTALL_DIR}/lib64:${DEPS_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
export PYTHONPATH=${ALICEVISION_ROOT}:${PYTHONPATH}
export LD_LIBRARY_PATH=${ALICEVISION_ROOT}/lib:${ALICEVISION_ROOT}/lib64:${DEPS_INSTALL_DIR}/lib64:${DEPS_INSTALL_DIR}/lib:${LD_LIBRARY_PATH}
echo "ldd aliceVision_cameraInit"
ldd ${ALICEVISION_ROOT}/bin/aliceVision_cameraInit
python --version
Expand Down
13 changes: 12 additions & 1 deletion src/aliceVision/hdr/Brackets.i
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,19 @@
// v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.


%include <aliceVision/hdr/brackets.hpp>

%{
#include <aliceVision/hdr/brackets.hpp>
%}

using namespace aliceVision;
using namespace aliceVision::hdr;
%}


%include "std_vector.i"

%template(vectorli) std::vector<aliceVision::hdr::LuminanceInfo>;
%template(vvectori) std::vector<std::vector<aliceVision::IndexT>>;

4 changes: 3 additions & 1 deletion src/aliceVision/hdr/Hdr.i
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@

%module (module="pyalicevision") hdr

%include <aliceVision/hdr/Brackets.i>
%include <aliceVision/global.i>
%include <aliceVision/hdr/Brackets.i>

Loading

0 comments on commit f6b0387

Please sign in to comment.