otb issueshttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues2020-10-12T13:25:04Zhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2075Release 7.2.02020-10-12T13:25:04ZCédric TraizetRelease 7.2.0This is the planning issue for release 7.2.0
We are currently working on the next major release (8.0.0). However, this version will not be available in a near future: according to our estimations it should be released in late October th...This is the planning issue for release 7.2.0
We are currently working on the next major release (8.0.0). However, this version will not be available in a near future: according to our estimations it should be released in late October this year.
OTB 7.1.0 has been released in march, so it could be useful to publish another minor release before version 8.0.0.
This release 7.2.0 would contain all non breaking changes since release 7.1.0. This include some bug fixes and two new applications : [PantexFeatureExtraction](https://www.orfeo-toolbox.org/CookBook-develop/Applications/app_PantexTextureExtraction.html) and [SpectralAngleClassification](https://www.orfeo-toolbox.org/CookBook-develop/Applications/app_SpectralAngleClassification.html).
The develop branch currently does not contain breaking changes, except for !697 that should not be included in the release.
The following actions should be done :
* [x] Wait for all issues marked 7.2.0 to be merged
## Release candidate
### 1. Branches
* [x] **(if major or minor release)** Feature freeze: [create the new release branch](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#create-release-branch)
* [x] Make sure the version number in `CMakeLists.txt` is 7.2.0
### 2. Housekeeping
* [x] In this story, make a list of blocking issues for the release (if any)
* [x] Issue #2090
* [x] Fix compilation warnings on CI
* [x] [Update the SuperBuild archive](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#superbuild-archive). Note: waiting for the actual release to move the 7.1.0 archive
* [x] Update release notes (walk the GitLab MR merged history and log all improvements)
* [x] Update the date in RELEASE_NOTES.txt
* [x] Check [SonarQube](https://sonar.orfeo-toolbox.org/dashboard?id=orfeotoolbox-otb)
* [x] Run Debian [spelling](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#spelling-check) checker
* [x] Run shellcheck script from [OTB-Devutils/Scripts/](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb-devutils/blob/master/Scripts/run_shellcheck.sh)
* [x] [Update translation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#translation-for-monteverdi-mapla) for Monteverdi and Mapla
* [x] [Sanity check the binary packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#standalone-packages-sanity-check)
* [x] Windows
* [x] Linux
* [x] Mac
* [x] Test QGIS on qgis docker image : done using QGIS 3.15
### 3. Actual release
Once all blocking issues are closed, and the previous steps are done:
* [x] [Tag the release or RC](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#release-tag) for the rc onldy otb tag has been create
* [x] Update GIT_TAG for all official remote modules (if needed)
### 4. Publish and plan next release
* [x] [Prepare and upload source packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#prepare-and-upload-source-packages)
* [x] [Promote staging packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#promote-staging-packages)
* [x] [Update documentation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#update-documentation)
* [x] Cookbook
* [x] Doxygen
* [x] Release announcement on the forum
## Release
### 1. Branches
* [x] Make sure the version number in `CMakeLists.txt` is 7.2.0
### 2. Housekeeping
* [x] In this story, make a list of blocking issues for the release (if any)
* [x] Fix compilation warnings on CI
* [x] [Update the SuperBuild archive](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#superbuild-archive). Note: waiting for the actual release to move the 7.2.0 archive
* [x] Update release notes (walk the GitLab MR merged history and log all improvements)
* [x] Update the date in RELEASE_NOTES.txt
* [x] Check [SonarQube](https://sonar.orfeo-toolbox.org/dashboard?id=orfeotoolbox-otb)
* [x] Run Debian [spelling](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#spelling-check) checker
* [x] Run shellcheck script from [OTB-Devutils/Scripts/](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb-devutils/blob/master/Scripts/run_shellcheck.sh)
* [x] [Update translation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#translation-for-monteverdi-mapla) for Monteverdi and Mapla
* [x] [Sanity check the binary packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#standalone-packages-sanity-check)
* [x] Windows
* [x] Linux
* [x] Mac
* [x] Test QGIS on qgis docker image
### 3. Actual release
Once all blocking issues are closed, and the previous steps are done:
* [x] [Tag the release or RC](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#release-tag) for the rc onldy otb tag has been create
* [x] Merge the release into develop
* [x] Merge the release into master
* [x] Update GIT_TAG for all official remote modules (if needed)
### 4. Publish and plan next release
* [x] [Prepare and upload source packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#prepare-and-upload-source-packages)
* [x] [Promote staging packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#promote-staging-packages)
* [x] [Update documentation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#update-documentation)
* [x] Cookbook
* [x] Doxygen
* [x] WordPress page "Home" and "Download" pages
* [x] Upload OTB source archive to [Zenodo](https://zenodo.org/) to create a unique Digital Object Identifier (DOI)
* [x] Release announcement on the forum
* [x] Release announcement on the blog
* [x] Announcement on social networks (twitter)
* [x] Forward announcement to news_item@osgeo.org ([OSGeo news](https://www.osgeo.org/foundation-news/))
* [x] Remove public branches related to MR or bugfix merged before the release7.2.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2014Refactor compare image2020-07-09T12:30:55ZGuillaume PaseroRefactor compare imageThe implementation of `otb::TestHelper::RegressionTestImage` could be improved, mostly to deal with large images. I was a bit shocked to read this at the beginning of the function:
```
baselineReader->UpdateLargestPossibleRegion();
[......The implementation of `otb::TestHelper::RegressionTestImage` could be improved, mostly to deal with large images. I was a bit shocked to read this at the beginning of the function:
```
baselineReader->UpdateLargestPossibleRegion();
[...]
testReader->UpdateLargestPossibleRegion();
```
and a few lines later, there is finally a check on the image size, to decide if we upload the difference image to CDash. But if your input images are large (let say a few GB), you already have flooded the RAM memory of your laptop, and maybe the swap as well. As OTB is supposed to manage properly large images this behaviour has to be changed.
My solution step by step:
* First call a `UpdateOutputInformation()` on both readers (baseline and test image) in a try/catch
* Check images have the same size
* Plug the pipeline with the `otb::DifferenceImageFilter` (also: add the Reset/Synthetise function to make it streamable)
* Test if the total number of pixel is above the "cdash" limit
* No: proceed with actual behaviour
* Update() on the difference filter
* check amount of different pixels
* rescale and write difference image as PNG, as well as baseline and test image
* Yes:
* plug a virtual writer after the difference image and update it (streaming processing)
* TBD: write the difference image (not as a PNG but as a geotiff)7.2.0Cédric TraizetCédric Traizethttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2015Fix warnings2020-07-17T08:20:25ZCédric TraizetFix warningsMerge request !653 fixed many of warnings issued by otb CI build, but there are many warnings remaining, in particular on windows builds. They should be fixed!Merge request !653 fixed many of warnings issued by otb CI build, but there are many warnings remaining, in particular on windows builds. They should be fixed!7.2.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2012Spectral Information Divergence2020-07-17T08:19:04ZCédric TraizetSpectral Information DivergenceFeature request from the [forum](https://forum.orfeo-toolbox.org/t/feature-request-spectral-information-divergence/502) :
After abundance maps are generated by the following available module:
https://www.orfeo-toolbox.org/CookBook/App...Feature request from the [forum](https://forum.orfeo-toolbox.org/t/feature-request-spectral-information-divergence/502) :
After abundance maps are generated by the following available module:
https://www.orfeo-toolbox.org/CookBook/Applications/app_HyperspectralUnmixing.html
Could you add a module for classifying the bundance maps using Spectral Information-Divergence (SID) and Spectral Angle Mapper (SAM) like below?
https://pysptools.sourceforge.io/classification.html#spectral-information-divergence-sid
Thank you.7.2.0Cédric TraizetCédric Traizet