REQUEST: change of YAML double output format for enhanced readability (Feature #904)
Description
Changing the YAML output format for double from %.16e to %.16g leads to better readability of the YAML files for humans without sacrificing resolution, compatibility, file size or anything else.
The relevant format string is on line 758 in persistance.cpp of the current (2.2) distribution (build 3838). Change has been tested with own application only.
Associated revisions
Merge pull request #904 from ograycode:2.4
Merge remote-tracking branch 'origin/2.4' into merge-2.4
Pull requests:
#904 from ograycode:2.4
#905 from bitwangyaoyao:2.4_TVL1
#902 from apavlenko:fix_run_py
#882 from pengx17:2.4_rewrite_query_info
Conflicts:
modules/nonfree/src/surf.ocl.cpp
modules/ocl/include/opencv2/ocl/private/util.hpp
modules/ocl/src/hog.cpp
modules/ocl/src/pyrlk.cpp
modules/ocl/src/tvl1flow.cpp
History
Updated by Vadim Pisarevsky almost 14 years ago
fixed in trunk (though, %.17g should be used instead of %.16g, otherwise our tests fail)
- Status changed from Open to Done
- (deleted custom field) set to fixed