0023272: Image comparison algorithm
authorkgv <kgv@opencascade.com>
Mon, 10 Sep 2012 10:30:46 +0000 (14:30 +0400)
committerkgv <kgv@opencascade.com>
Mon, 10 Sep 2012 10:30:46 +0000 (14:30 +0400)
commit692613e554e449ae9c0786a1144dea223b4f958f
tree4fcd67b87ae168eee8e92108c9f1f683cd54dca1
parent567148d8f4b76d45f6b27f74f9a90d707af304c3
0023272: Image comparison algorithm

A new class Image_Diff for comparison of images
and a draw-command "diffimage", which compares 2 images.

Image_PixMap redesigned to provide interface for low-level image operations.
New Image_AlienPixMap class now intended for Save/Load functionality.

Aspect_PixMap class dropped.
Xw_PixMap and WNT_PixMap classes now do not inherit from Aspect_PixMap and deprecated.

ToPixMap methods now retrieve Image_PixMap as argument.

Conflicts:
src/ViewerTest/ViewerTest.cxx
Remarks applied
Fix compilation (correct merging error)

Eliminated Aspect <-> Image cyclic dependency

Fixed GIF dump in case of BGR32 image format
43 files changed:
src/Aspect/Aspect.cdl
src/Aspect/Aspect_PixMap.cdl [deleted file]
src/Aspect/Aspect_PixMap.cxx [deleted file]
src/Aspect/Aspect_Window.cdl
src/Draw/Draw_Window.cxx
src/Graphic3d/FILES
src/Graphic3d/Graphic3d.cdl
src/Graphic3d/Graphic3d_BufferType.hxx [moved from src/Image/Image_HPrivateImage.hxx with 71% similarity]
src/Graphic3d/Graphic3d_GraphicDriver.cdl
src/Image/FILES
src/Image/Image.cdl
src/Image/Image_AlienPixMap.cxx [new file with mode: 0644]
src/Image/Image_AlienPixMap.hxx [new file with mode: 0644]
src/Image/Image_CRawBufferData.hxx [deleted file]
src/Image/Image_Color.hxx [new file with mode: 0644]
src/Image/Image_Diff.cxx [new file with mode: 0644]
src/Image/Image_Diff.hxx [new file with mode: 0644]
src/Image/Image_PixMap.cdl [deleted file]
src/Image/Image_PixMap.cxx
src/Image/Image_PixMap.hxx [new file with mode: 0644]
src/Image/Image_PixMapData.hxx [new file with mode: 0644]
src/InterfaceGraphic/FILES
src/InterfaceGraphic/InterfaceGraphic_RawBufferData.hxx [deleted file]
src/OpenGl/OpenGl_GraphicDriver.hxx
src/OpenGl/OpenGl_GraphicDriver_7.cxx
src/OpenGl/OpenGl_Workspace.hxx
src/QADraw/QADraw.cxx
src/V3d/V3d_View.cdl
src/V3d/V3d_View.cxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
src/Visual3d/Visual3d_View.cdl
src/Visual3d/Visual3d_View.cxx
src/WNT/WNT_ImageProcessor.cxx
src/WNT/WNT_PixMap.cdl
src/WNT/WNT_PixMap.cxx
src/WNT/WNT_Window.cdl
src/WNT/WNT_Window.cxx
src/Xw/Xw_PixMap.cdl
src/Xw/Xw_PixMap.cxx
src/Xw/Xw_Window.cdl
src/Xw/Xw_Window.cxx
src/Xw/Xw_save_image.cxx