]> OCCT Git - occt.git/commit
0029847: Visualization, Image_Diff - Tolerance is not effective for 24/32bit image...
authordipts <tobias@schachte.net>
Wed, 6 Jun 2018 19:42:11 +0000 (22:42 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 14 Jun 2018 11:03:13 +0000 (14:03 +0300)
commit56cc44e0f5f301fedb71180e08bb97203f9f0c74
treeff7bad338e6c437ddb31c3b00ebf17a6e9234010
parentcf12784f94777e337491745fcaea1461d778d295
0029847: Visualization, Image_Diff - Tolerance is not effective for 24/32bit image formats

Image_Color - removed semibroken summ/difference operators.
Image_Diff now uses signed integer for computing differnce between ubyte3 components;
properly compare squared tolerance.

Image_Diff - dropped declaration of Image_ColorXXX24.
RGB color difference is now computed using Chebyshev distance instead of Euclidean distance
Image_PixMap - added methods RawValue()/ChangeRawValue() returning a pointer
to image where specified pixel data is defined.
src/Image/Image_Color.hxx
src/Image/Image_Diff.cxx
src/Image/Image_PixMap.hxx
tests/bugs/vis/bug29847 [new file with mode: 0644]