4

I've searched all over google and have found nothing. I want some tiff files I have in ArcMap to be in greyscale with the rest of the layers in colour, similar to the style override > greyscale option in MapInfo. I will be printing A1 posters and do not want the background imagery in colour. I've tried changing the symbology to stretched (as suggested on a forum), but it looks weird, like this:

enter image description here

  • How about changing color in any image program, like Paint.Net, Photoshop or similar? And then add the new file back to Arcmap. – Martin Feb 6 '14 at 13:17
  • Wouldn't it lose it's georeferencing? – Alan Carr Feb 6 '14 at 13:19
  • I don't think it will. – Martin Feb 6 '14 at 13:26
  • Why wouldn't you think it would not lose the georeferenced when you save the new file back to ArcMap ? – PROBERT Feb 6 '14 at 16:33
  • If the image is georef'd by a TFW file, the georeferencing won't be lost assuming the file name isn't changed. If the georeferencing is embedded as part of the TIFF header, then re-saving the file may or may not save the geo info correctly. It all depends on the software used. – user3461 Feb 6 '14 at 19:50
2

I've used irfan view in the past to create grey scale tiffs, you could try that? It will also allow you to batch up the conversion and best of all its free to use!

  • Thanks, I'll give it a go, I tried GIMP but it wouldn't let me perform any colour options as "Colorize only works on RGB layers" :S, you'd think there would be a display option in ArcMap for this... – Alan Carr Feb 6 '14 at 13:26
  • I've just tried a batch conversion at -255 saturation, but all images lost their georeferncing – Alan Carr Feb 6 '14 at 13:31
  • Got it now, the converted files on their own didn't work, but worked for some reason if the .TAB files I had with them were still in the folder :S – Alan Carr Feb 6 '14 at 13:46
2

Your image is a three band composite that is rendered in color by default. If you use stretched, you will only show one of the three bands, so you could end up with the strange shades of grey that you are showing. For a background grey scale image, the best solution is to compute the INTENSITY of your color image.

This can be done in different software. With ArcGIS spatial analyst, you can add the three bands individually, then use the map algebra (raster calculator) to compute the average of your three bands ("im-band1" + "im-band2" + "im-band3")/3 . Principal component could also yield some nice results, but it is very "image dependent"

2

Since there are many issues adressed to georeference in posted answers, I'll try to explain the idea of georeferencing rasters.

Images are stored as raster data in which each cell in the image has a row and column number (in other words - pixel address). Then to tell GIS software how to translate row and column position into geography wise position there need to be information about georeferencing passed (transform parameters - translation, rotation, pixel size in geoprojected units).

Some image formats (like GeoTIFF) have this information stored in file header, others (like BMP, JPG, TIF) needs to be served with additional ACII file information - so called World file. World files are automatically loaded by GIS software if only their filenames suits images filenames (like when in the same directory are files image.tif and image.tfw). For further reading: See ESRI help page

Then every raster file can be processed in any graphic software (IrfanView, GIMP, Paint and so on) but you must be aware that any operation will cause file header to be flushed. So if you edit GeoTIFF it will loose it's georeferencing information.

To preserve this you should generate separate World file before graphic processing.

The easiest way to do that is to use Export Raster World File in ArcMap (manual reference).

If not using ESRI's software please read this GIS.SE post

Remember to save edits with same filename to link it with exported World file.

Hope it clears a bit.

1

I have the same problem and tried Ifranview. I think batch convertion lost georeferenced information. Crazy to thing there is no simple option in ArcMap for that. Did'nt get how you manage to do it with ifran view?

  • The problem is that IView, Photoshop, Gimp don't write geoTiff tags. You need to create a world file (.tfw and optional .prj) to hold the georeference then it's all good. – Michael Stimson Sep 30 '15 at 23:07
0

If you go to properties/symbology for the raster layer and set all the channels to use the same band, then you can get a greyscale image based on the band you chose.

0

Did u try 'reclassify' option in arcmap? You can change band to 2 only and you will get normal greyscale raster.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.