search for: lena256

Displaying 1 result from an estimated 1 matches for "lena256".

2011 Nov 24
1
readGDAL or raster for reading bit map files
Dear all, I have asked yesterday of how I can read a simple bitmap file in R cran. I was suggest to use either readGDAL or raster for loading my bitmap a. I have done it with readGDAL like     store<-readGDAL(fname='lena256.bmp')     and it works,... but it converts my matrix-like notion of a bitmap to a large vector b. Raster also returns a class that I can not understand. So 1, I want to load it and keep the image as a matrix (so every cell in the matrix will correspond to a pixel) 2. I want to be able to plot...