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: tstrubl1
Subject: Re: Passing image matrix into c++ file
Date: Thu, 24 Jan 2013 20:03:29 -0800 (PST)

Thank you, this has fixed the error.

--Timothy Struble-Larsen


On Thu, Jan 24, 2013 at 3:56 AM, c.-2 [via Octave] <[hidden email]> wrote:

On 23 Jan 2013, at 21:20, tstrubl1 <[hidden email]> 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.
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave



If you reply to this email, your message will be added to the discussion below:
http://octave.1599824.n4.nabble.com/Passing-image-matrix-into-c-file-tp4649069p4649074.html
To unsubscribe from Passing image matrix into c++ file, click here.
NAML



View this message in context: Re: Passing image matrix into c++ file
Sent from the Octave - General mailing list archive at Nabble.com.

reply via email to

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