REQUEST: change of YAML double output format for enhanced readability (Feature #904)


Added by Stefan Hahn about 14 years ago. Updated almost 14 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:core
Target version:-
Difficulty: Pull request:

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

Revision 6de72ea8
Added by Vadim Pisarevsky almost 14 years ago

resolved tickets #904 (nicer floating-point formatting) and #816 (reduce with CV_REDUCE_AVG on 8-bit arrays)

Revision 324cafdd
Added by Roman Donchenko almost 12 years ago

Merge pull request #904 from ograycode:2.4

Revision 5ac3b8d5
Added by Roman Donchenko almost 12 years ago

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

Also available in: Atom PDF