1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-17 15:26:00 +08:00
Commit Graph

9 Commits

Author SHA1 Message Date
Ping Wu
d6102ef65f Update dictionary.hpp (#3297)
In Macbeth colorchecker, the RGB value of 21.neutral 6.5(.44*) and 23.neutral 3.5(.1.05*) seems to be wrong, while Lab values are correct.

Citation: https://babelcolor.com/index_htm_files/RGB%20Coordinates%20of%20the%20Macbeth%20ColorChecker.pdf
2022-11-27 22:23:55 +08:00
Alexander Smorkalov
467fd624e7 Merge pull request #3321 from y-guyon:fix_get_subbox_chart_physical
Remove unused size of get_subbox_chart_physical()
2022-09-05 15:26:51 +03:00
Yannis Guyon
94ca0c5fc0 Move poly*clockwise() definition to common.cpp 2022-09-05 10:23:32 +02:00
Yannis Guyon
0be54f24f2 Untemplate polyanticlockwise() and polyclockwise() 2022-09-01 11:34:43 +02:00
Yannis Guyon
cd97cad52d Use T as temp var type in polyanticlockwise()
To match the input data type.
Cast inner computation to double to prevent int overflows for any
input type.
2022-08-08 22:44:21 +02:00
Yannis Guyon
badef606c2 Remove unused size of get_subbox_chart_physical()
The argument size of get_subbox_chart_physical() is unused.
get_subbox_chart_physical() is called only in one place.
The local variable h could overflow the cast to int and lead to a
SIGILL in some environments.
2022-08-08 21:54:35 +02:00
Kévin Andrieux
461b56f602 Merge pull request #2845 from kevineor:DeltaECIEDE2000-fix
deltaCIEDE2000_ fix into the MCC module

* deltaCIEDE2000_ fix, did not pass the test case 17 and 19 of Gaurav Sharma's test data

* Update ccm test case
2021-02-05 20:47:52 +00:00
riskiest
478cc124f5 Merge pull request #2671 from riskiest:color-calibration
Color Calibration Algorithm Implementation Revised

* Add utils, io helpers, the operations for linearization and distance

* Add the code for color, colorspace, linearization and ccm computation

* Add sample code for color correction

* Add the dependency to opencv_imgcodes in CMakeLists.txt

* Add the color correction tutorial, introducing build steps and
parameters

* Add sample code to color correction tutorial

* Add color correction algorithms introductions

* Update color_correction_model.markdown

* Fix warnings of whitespace, undeclared function, shadow variables.

* Fix the warnings of shadow variables, unused variable in base class.
Fix the error whitespace and 'EOF' on the docs.

* Fix the warnnings on win & macos

* Fix bugs & support Vinyl ColorChecker

* fix shadow variables warning & code style

* update document for sample

* update license

* fix linearize.hpp

* Add basic io, utils, operations helpers.
Implement color distance.

* Implement color, colorspace, linearization and ccm features.

* Add the dependencies to opencv_imgcodecs in CMakeLists.txt

* Add color correction model sample code.
Co-authored-by: Chenqi Shan <shanchenqi@huawei.com>

* Add the index markdown of color correction tutorial.

Co-authored-by: Chenqi Shan <shanchenqi@huawei.com>

* Add the introduction for color correction sample.

* Split operations into .hpp and .cpp

* Split mcc, color, colorspace and linearize into .cpp & .hpp

* Update test cases

* Split distance, io and utils into cpp & hpp.
Refer ccm.hpp in entrypoint header and update realted refs in sampe & tutorial

* add static method

* fix shared_ptr

* fix markdown for new version

* delete useless include message

* update unittests

* update docs & fix bugs for InitialwhiteBalance()

* update doc for doxygen

* update doc&DigitalSG

* replace whitespace for utils.hpp&color.hpp

* update getilluminants,imgcodes,

* Fix Mat wrapper over data from C arrays, fix doxygen's @snippet instead of direct code.

* remove array from color.h

* remove hpp from include/mcc/

* add hpp to opencv/model/mcc/

* dst unsolved

* remove bugs about dst

* add make passed

* update codes using the structure "impl"

* update documents

* update ccm member for class ColorCorrectionModel

* remove  macro CV_EXPORTS_W for codes in src/*.hpp

* move class Impl private

* remove unnesasary notice

* remove trailing whitespace

* update documents&samples

* move typedef MatFunc into class and move dead codes

* minimize list of required headers, add getCCM() method

* move type: information for parameters

* move underscores _ in public headers

* add @defgroup for ccm

* move <iostream> and add getloss() method for class ColorCorrection Model

* update sample/color_correction_model.cpp

* add getIOs() function for minimize initialization of IO variables

* mcc(ccm): apply clang-format

* mcc(ccm): fix documentation, code style

* remove duplicate enum values

* add prefixes for enum values

* update codes using cv_Error

* update test_ccm file

* update test_ccm file

* update sample --help

* mcc: reduce global initializers

* update function naming style

* update formulas and note for ccm.hpp

* add const value

Co-authored-by: Chenqi Shan <shanchenqi@huawei.com>
Co-authored-by: Jinheng Zhang <zhangjinheng1@huawei.com>
Co-authored-by: Zhen Ju <juzhen@huawei.com>
Co-authored-by: Longbu Wang <wanglongbu@huawei.com.com>
Co-authored-by: shanchenqi <582533558@qq.com>
2020-11-23 12:39:32 +00:00
Ajit Pant
2554f41c47 Merge pull request #2532 from AjitPant:mcc
* First commit

* Updated mcc

* Fixed build warnings.

* Fixed warnings v2

* Added support for providing regions to look for the chart

* Added the neural network based detector

* Added Documentation and tests

* Fixed Warnings

* Fixed test failure

* Fixed warnings v2

* Fix Warning attemp 3

* Replaced size_t by int to fix warning

* fixed one more

* Fixed a size_t

* Fixed some bugs

* Modified the private interface a bit

* Just adding doc of what -t and -ci numbers are

* significantly improved performance of the macbeth chart detector (by two orders of magnitude, perhaps)

* Fixed the suggested changes.

* Removed imcodes from precomp

* Fixed warnings and namespace issue

* Replaced occurance of Matx33f by InputArray

Co-authored-by: Gary Bradski <garybradskigit@gmail.com>
Co-authored-by: Vadim Pisarevsky <vadim.pisarevsky@gmail.com>
2020-08-03 11:32:46 +03:00