[scilab-Users] converting matrix to image
vinsz
vincent.guffens at googlemail.com
Mon Apr 5 13:05:50 CEST 2010
On 05/04/2010 06:12, Robert Fong wrote:
> Hi,
> I would like to convert a matrix of floating point numbers
> (representing gray scale) to an image file such as a jpg file, that
> can be displayed as am image. Matlab does this with the "image"
> function. Does Scilab have a similar function? If not does anyone have
> any a way to accomplish this?
>
> Robert
>
Hi,
did you have a look at the Matplot and Matplot1 functions? These
functions round the float entries to int so you may have to scale your
matrix to obtain the desired result.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100405/33924c68/attachment.htm>
More information about the users
mailing list