help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing image matrix into c++ file


From: c.
Subject: Re: Passing image matrix into c++ file
Date: Thu, 24 Jan 2013 10:47:07 +0100

On 23 Jan 2013, at 21:20, tstrubl1 <address@hidden> wrote:

> I could find no documentation as to how to declare a uint8 matrix in a C++
> file (I looked for a long time).

Off the top of my head, assuming you are writing a DLD function and your image 
is the first input, you could do:

uint8NDArray im = args(0).uint8_array_value ();

HTH,
c.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]