C++: added GreyscaleLuminanceSource
authorflyashi <flyashi@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 19 Jul 2010 20:53:17 +0000 (20:53 +0000)
committerflyashi <flyashi@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 19 Jul 2010 20:53:17 +0000 (20:53 +0000)
commit2a55b4c8357dc05b12b02f34b0db6c2b2f6a36cc
tree79c056d84d32987e231252a2af9be1e3485f600f
parent08dcf3d927dd47cc70902ef0b69936498b1f29a2
C++: added GreyscaleLuminanceSource

It takes a block of greyscale data, width, height, and cropping parameters, and provides a LuminanceSource interface, with rotation (although only 1D is supported for the rotated object at the moment.)

git-svn-id: http://zxing.googlecode.com/svn/trunk@1488 59b500cc-1b3d-0410-9834-0bbf25fbcc57
cpp/core/src/zxing/common/GreyscaleLuminanceSource.cpp [new file with mode: 0644]
cpp/core/src/zxing/common/GreyscaleLuminanceSource.h [new file with mode: 0644]
cpp/core/src/zxing/common/GreyscaleRotatedLuminanceSource.cpp [new file with mode: 0644]
cpp/core/src/zxing/common/GreyscaleRotatedLuminanceSource.h [new file with mode: 0644]