Hello all, 

I would like to perform a kmean analysis on several (big) raster images. I 
thought of using the bigmemory/biganalytics packages, using raster package to 
first do some work on the images, then integrate them in a big.matrix (nrow = nb 
of cells of images, ncol= nb of images), and run the bigkmeans.
Writing the raster objects as ascii files and then importing them using 
read.big.matrix might work, but it will need another program to remove the 
header (I've got too many images to do it by hand), and sure will involve a lot 
of read/write operation (using getValues to put values straight into a 
big.matrix object doesn't work on my machine as it hits the memory wall...).
It's sure feasible, but I was wondering if anyone had a better solution/idea. ?? 
Giving the popularity that both raster and big* packages are gaining, I trust it 
would be useful to find an easy way to do a raster to bigmatrix conversion.

Best,

simon
	[[alternative HTML version deleted]]

