Commits on Source (46)
-
Luc Hermitte authored
and rename the files to avoid conflict
-
Luc Hermitte authored
- harmonize indent and use latest OTB style (Allman's indenting style) - remove trailling spaces This commit doesn't need much attention. It serves to avoid extra noises in futures commits that would automatically change indenting...
-
Luc Hermitte authored
(latest OTB style)
-
Luc Hermitte authored
-
Luc Hermitte authored
Directly jump to `final` as the class won't be overridden
-
Luc Hermitte authored
-
Luc Hermitte authored
-
Luc Hermitte authored
- remove unused includes - add missing ones (in the right file) - reorder: OTB > ITK > 3rd part > STD
-
Luc Hermitte authored
-
Luc Hermitte authored
This definition avoid useless conversions, is more robust (not a macro), and it's hidden in an anonymous namespace for now (it should be moved into a central _toolbox_ file)
-
Luc Hermitte authored
- either take by const-ref - or move values
-
Luc Hermitte authored
-
Luc Hermitte authored
(mismatch use of `new[]` -> `delete`) Thanks to vector, memory is correctly managed and there is no risk to leak
-
Luc Hermitte authored
-> more robust toward memory leaks
-
Luc Hermitte authored
-
Luc Hermitte authored
-
Luc Hermitte authored
- `atoi` is a known source of problems - `stoi` doesn't provide much context for non (int-)convertible strings
-
Luc Hermitte authored
Use references instead of pointers any time it's possible
-
Luc Hermitte authored
+ pro-active use of `const`
-
Luc Hermitte authored
There are still conversion in `estimate()`, but they are really difficult to avoid without introducing memory allocations.
-
Luc Hermitte authored
Factorize code, simplify and micro optim
-
Luc Hermitte authored
micro optim: - memorize `m_member_variables`, - move invariants out of loop, - remove branch
-
Luc Hermitte authored
- cache `m_member_variables` - cache origin value - cache low and hi margins as the internal input pixel type (likelly `float`) in order to avoid operations between `float` and `double` - replace `while` with `for` where iterating...
-
Luc Hermitte authored
-
Luc Hermitte authored
Replace out-parameters with returned values
-
Luc Hermitte authored
Future algorithms will need to directly access the underlying data. ITK iterators will be an hindrance and as such they will be reaplced with iterators compatibles with C++ standard algorithms
-
Luc Hermitte authored
-
Luc Hermitte authored
-
Luc Hermitte authored
and improve class interface: - remove dependency to `std::iterator` deprecated in C++17 - use class traits internally - add comparison operators
-
Luc Hermitte authored
Instead of iterating over all DEM lines again and again, a dichotomic search is done as long as we know DEM lines progression is monotonic to the exploration. TODO: - test the case where lines are sorted in ascending order - support the case where there is no monotonic progression
-
Luc Hermitte authored
-
Luc Hermitte authored
- no monotonic progression - ascendant monotonic progression - descendant monotonic progression
-
Luc Hermitte authored
-
Luc Hermitte authored
The dichotomic search doesn't assign a correct value to "last" end-bound when it's close the end of image line
-
Luc Hermitte authored
-
Luc Hermitte authored
-
Luc Hermitte authored
However the output mask receives a 2 instead of 0 (nodata), or 1 (nominally computed)
-
Luc Hermitte authored
-
Luc Hermitte authored
-
Luc Hermitte authored
-
Luc Hermitte authored
Resolve "Adapt DiapOTB SARCartesianMeanEstimation to keep shadows" Closes #2 See merge request !1
-
Luc Hermitte authored
-
Luc Hermitte authored
Merge branch '4-automatically-inject-nodata-metadata-in-generated-images' of gitlab.orfeo-toolbox.org:s1-tiling/normlim_sigma0 into 4-automatically-inject-nodata-metadata-in-generated-images
-
Luc Hermitte authored
Resolve "Automatically inject NODATA metadata in generated images" Closes #4 See merge request !3
-
Luc Hermitte authored
-
Luc Hermitte authored
Showing
- app/CMakeLists.txt 7 additions, 1 deletionapp/CMakeLists.txt
- app/otbExtractNormalVector.cxx 4 additions, 6 deletionsapp/otbExtractNormalVector.cxx
- app/otbSARCartesianMeanEstimation2.cxx 213 additions, 0 deletionsapp/otbSARCartesianMeanEstimation2.cxx
- app/otbSARComputeLocalIncidenceAngle.cxx 5 additions, 2 deletionsapp/otbSARComputeLocalIncidenceAngle.cxx
- include/equal_range_interval.h 86 additions, 0 deletionsinclude/equal_range_interval.h
- include/otbApplicationWithNoData.h 94 additions, 0 deletionsinclude/otbApplicationWithNoData.h
- include/otbNormalCompute.h 2 additions, 2 deletionsinclude/otbNormalCompute.h
- include/otbPositionHelpers.h 14 additions, 0 deletionsinclude/otbPositionHelpers.h
- include/otbSARCartesianMeanFunctor2.h 375 additions, 0 deletionsinclude/otbSARCartesianMeanFunctor2.h
- include/otbSARDEMPolygonsAnalysisImageFilter2.h 289 additions, 0 deletionsinclude/otbSARDEMPolygonsAnalysisImageFilter2.h
- include/otbSARDEMPolygonsAnalysisImageFilter2.hxx 1293 additions, 0 deletionsinclude/otbSARDEMPolygonsAnalysisImageFilter2.hxx
- include/otbSARPolygonsFunctor2.h 188 additions, 0 deletionsinclude/otbSARPolygonsFunctor2.h
- include/otbVLVPointIterator.h 144 additions, 0 deletionsinclude/otbVLVPointIterator.h
app/otbSARCartesianMeanEstimation2.cxx
0 → 100644
include/equal_range_interval.h
0 → 100644
include/otbApplicationWithNoData.h
0 → 100644
include/otbSARCartesianMeanFunctor2.h
0 → 100644
This diff is collapsed.
include/otbSARPolygonsFunctor2.h
0 → 100644
include/otbVLVPointIterator.h
0 → 100644