Hi
An OpenCV Mat file would be represented in ImageEn by a TIEVisionImage:
http://www.imageen.com/help/TIEVisionImage.html
Or the alias:
http://www.imageen.com/help/TIEVisionMatrix.html
Which you would assign to a TIEBitmap as follows:
MyIEBitmap.AssignIEVisionImage( MyIEVisionImage );
Here's an example of creating a matrix:
const
sharpenKernel: array [0..2] of array [0..2] of single = ((-1, -1, -1), (-1, 8, -1), (-1, -1, -1));
var
k: TIEVisionImage;
i, j: integer;
l: PSingleArray;
begin
// convert the kernel to TIEVisionImage
k := IEVisionLib().createImage(3, 3, ievFLOAT32, 1);
for i := 0 to 2 do
begin
l := k.getScanline(i);
for j := 0 to 2 do
l[j] := sharpenKernel[i, j];
end;
...
Nigel
Xequte Software
www.imageen.com