Boost logo

Ublas :

Subject: Re: [ublas] returning a ublas matrix from a function
From: sanann (padalasaisandeep_at_[hidden])
Date: 2014-08-22 03:39:24


Thank you Joaquim.

i thought of the same when i first started too.

so i used

    rgb8_image_t img;
    jpeg_read_image ("lena.jpg",img);

statements to load my image. but after this i didnot know how i can copy the
contents of the image into a matrix or how to copy the matrix to a gil
image. then i ended up trying to do it the way i did it before.

could you kindly shed some light on this? i went through the documentation
and just got confused so i had to opt a simpler option. It would be really
great if you have some kind of sample code for this as the samples in the
documentation are too complicated.
 thank you once again

--
View this message in context: http://boost.2283326.n4.nabble.com/returning-a-ublas-matrix-from-a-function-tp4666050p4666754.html
Sent from the Boost - uBLAS mailing list archive at Nabble.com.