I would like to know how I would go about performing image analysis in R. My goal is to convert images into matrices (pixel-wise information), extract/quantify color, estimate the presence of shapes and compare images based on such metrics/patterns.
I am aware of relevant packages available in Python (suggestions relevant to Python are also welcome), but I am looking to accomplish these tasks in R.
Thank you for your feedback.
-Harsh
Also check out the RASTER package on the R-Forge website:
http://r-forge.r-project.org/projects/raster/
It is not released to CRAN yet but it is an excellent package to import, analyse, extract, subset images and convert them to matrices). Spatial analysis is also possible.
You can download the package in R via:
An example for R:
Check out