Laex / Delphi-OpenCV

Project Delphi-OpenCV. Translation of OpenCV library header files in Delphi
507 stars 226 forks source link

TocvImage.AsBitmap channel count error #22

Closed DonovanBoddy closed 10 years ago

DonovanBoddy commented 10 years ago

Unit ocv.comp.Types Function TocvImage.AsBitmap

Line pb[3 * j + K] := data[i * wStep + j * Channels + K]

I think should be pb[Channels * j + K] := data[i * wStep + j * Channels + K]

Also, not sure why this line is here Result := Result;