Re: [R] Image as a vector of values

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Fri, 22 Apr 2011 15:15:44 +0200

On 22.04.2011 13:16, Jim Lemon wrote:
> On 04/22/2011 06:45 PM, piravi wrote:
>> hi:)
>> An image may be viewed as a vector of pixels where the value of each
>> entry
>> in the vector
>> is the grayscale value of the corresponding pixel.
>> How can I do this using R project?
>>
> Hi Piravi,
>
> image (graphics) or color2D.matplot (plotrix)

Or, if the question is meant the other way round, see package pixmap.

Uwe Ligges

> Jim
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 22 Apr 2011 - 13:19:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 22 Apr 2011 - 14:00:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive