[R] Image as a vector of values
Uwe Ligges
ligges at statistik.tu-dortmund.de
Fri Apr 22 15:15:44 CEST 2011
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.
More information about the R-help
mailing list