Skip to content

Commit

Permalink
Merge branch 'master' into feat_visp_namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed May 27, 2024
2 parents 3877225 + c345d1c commit eb1e074
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cmake/templates/vpConfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,9 @@
# define VISP_HAVE_DATASET_VERSION ${VISP_HAVE_DATASET_VERSION}
#endif

// Defined if Bayer conversion has to be skipped
#cmakedefine VISP_SKIP_BAYER_CONVERSION

// Defined if nullptr is available
#cmakedefine VISP_HAVE_NULLPTR

Expand Down
1 change: 0 additions & 1 deletion modules/core/include/visp3/core/vpCircle.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ class VISP_EXPORT vpCircle : public vpForwardProjection
#endif
protected:
void init() vp_override;

};
#if defined(ENABLE_VISP_NAMESPACE)
}
Expand Down
5 changes: 5 additions & 0 deletions modules/core/src/image/private/vpBayerConversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@
#ifndef vpBAYERCONVERSION_H
#define vpBAYERCONVERSION_H

#include <visp3/core/vpConfig.h>

#ifndef VISP_SKIP_BAYER_CONVERSION
#include <cassert>


#include <visp3/core/vpMath.h>

// Workaround to avoid warning: "left operand of comma operator has no effect" when compiled in g++ with
Expand Down Expand Up @@ -1392,3 +1396,4 @@ void demosaicRGGBToRGBaMalvarTpl(const T *rggb, T *rgba, unsigned int width, uns
}

#endif
#endif
2 changes: 1 addition & 1 deletion modules/tracker/me/include/visp3/me/vpMe.h
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ inline void from_json(const nlohmann::json &j, vpMe &me)
assert((mus.size() == 2));
me.setMu1(mus[0]);
me.setMu2(mus[1]);
}
}
me.setMinSampleStep(j.value("minSampleStep", me.getMinSampleStep()));
me.setSampleStep(j.value("sampleStep", me.getSampleStep()));
me.setRange(j.value("range", me.getRange()));
Expand Down

0 comments on commit eb1e074

Please sign in to comment.