Re: returning a ublas matrix from a function

sanann <[email protected]>
Newsgroups gmane.comp.lib.boost.ublas
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.