I am studying on concrete technology, I have jpg image of concrete which is taken by digital camera .I am working with arcgis 10.1 version. I need to convert it into greyscale and get attribute table for further analyasis and classification.How can I get that ?
This is a workflow with ArcGIS 10.3 + Spatial Analyst, so it can be different in your case.
- Open ArcCatalog and read each band of the
F4Mmj.jpg(this name came with the attached image when I downloaded it) into ArcGIS (without spatial reference)... actually just drag & drop Band_1, Band_2, Band_3 onto the map window.
- Open Raster Calculator and run this expression
("F4Mmj.jpg - Band_3" + "F4Mmj.jpg - Band_2" + "F4Mmj.jpg - Band_1") / 3.
Conversion Tools | From Raster | Raster to ASCIIto export the calculated raster layer out to ASCII text file.
My preference, however, is to use ImageJ for image conversion, as it does not require Spatial Analyst license.
- Open the jpg file by ImageJ, and select
Image | Type | 8-bit... this will change the RGB to 8-bit greyscale. (This process also uses the same equation as above,
- Save it as new image file and give it to ArcGIS.