11-17-2017 02:04 PM
I performed a unsupervised classification on a continuous image. I have recoded down to a few classes. When I open up the attribute table there are no colors that I can change or associated with the classes, only row and histogram. When I view the metadata the TYPE is Continuous. I went to edit and change layer type but the type does not change. What am I missing here.
11-20-2017 12:34 AM
Did you edit the metadata in the Manage Tab > Edit Image Metadata? This seems to work for me, but running an edit through the metadata viewer does not.
11-20-2017 05:06 AM
This is classic Imagine failure. Having image file open in viewer prevents editing layer and changing layer type.
So when opening file to metadata editor make sure it is not open in Viewer in same time. Also different raster formats might act differently here. In Erdas own .img format this works easily than in some other formats (like TIF). I have not found the final logics of this issue but these two definetly affects on this issue.
11-20-2017 06:01 AM
When displaying your classified image in IMAGINE’s 2D Viewer be sure to choose Pseudo Color from the Display as menu under the Raster Options tab in the Select Layer To Add dialog.
Hexagon Geospatial Support
08-19-2020 03:08 AM
I have a continuous map and want to convert it to thematic layer so i can do the accuracy assessment. I heard that it is possible to convert it using the model maker but I don't know which fonction i should use. Thanks in advance for the help
08-19-2020 06:14 AM
You can convert your raster data from continuous to thematic using the Raster Output operator and setting the Thematicity value to Thematic. I have attached a simple spatial model you can use to perform this task.
08-24-2020 09:19 AM
You can also use the Set Thematicity operator if you need to change it within the body of a model (rather than on output)
10-07-2020 10:31 AM
I am experiencing issues with Erdas displaying my raster as continuous when the raster is thematic. I have attempted everyone's solution but it turns out that the data is thematic to begin with but when I pull up the metadata for the raster, it states that it is continuous.
I have included two images that show the data being displayed as continuous in Erdas, and also being displayed as thematic in ArcGIS Pro. It may help to note that this is reclassified NLCD data.
10-07-2020 12:19 PM
Try changing the layer type using the Image Metadata tool. Click on the Edit menu and select Change Layer Type. You should see it change from Continuous to Thematic in the Layer Info section.
10-07-2020 12:26 PM - edited 10-07-2020 12:27 PM
@sbent has offered two of the valid approaches above.
The other thing you can try is to first recalculate statistics using a skip factor of 1 (i.e. no skip factor). Then use Change Layer Type to mark the dataset as Thematic rather than Athematic. That way it will default to opening as PseudoColor in ERDAS IMAGINE's 2D View rather than as Greyscale.
Note that some third-party packages produce IMG files which are not quite to spec and this approach then does not work. If this is the case you'll need to go with one of the other two approaches above.