Boost logo

Ublas :

Subject: Re: [ublas] returning a ublas matrix from a function
From: Joaquim Duran (jduran.gm_at_[hidden])
Date: 2014-08-22 04:06:27


I don't have experience with GIL. However if you've experience with
matlab and you're interested in image processing in c++, I suggest to
change to OpenCV (a c++ library) because it has a matlab interface.

http://www.mathworks.es/discovery/matlab-opencv.html

Joaquim Duran

2014-08-22 9:39 GMT+02:00 sanann <padalasaisandeep_at_[hidden]>:
> 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.
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: jduran.gm_at_[hidden]