Download presentation
Presentation is loading. Please wait.
1
1 Arcobjects and Raster Data SHARAF AL-KHEDER salkhede@purdue.edu
2
2 Image Rendering /Classification Example Objectives: To create Macros To get raster input from layer To classify the image. To change color ramp
3
3 ArcGIS 9.1 help ArcGIS 9.1 help 1 2 3 1
4
4 Image Rendering Example (1) Create a macro to place the code in it: To access it
5
5 Image Rendering Example (2) Image classification/rendering code building Input image Input image Purdue Campus Rendering Macro Rendering Macro
6
6 Image Rendering Example (3) 1. Sub procedure 1. Sub procedure 2. identify # of classes and attribute for classification 2. identify # of classes and attribute for classification 3. Get the active document and raster image 3. Get the active document and raster image 3. create classify render 3. create classify render Divide data to classes and color Rend. operations Point Rend. to raster
7
7 Image Rendering Example (4) from ArcGIS help from ArcGIS help
8
8 Image Rendering Example (5) 4. Access the image table and create histogram and set its properties 4. Access the image table and create histogram and set its properties Access image table Raster band Table histogram access members that control classification methods.
9
9 Image Rendering Example (6) 5. set classification method 5. set classification method 6. set raster classify render 6. set raster classify render 7. create new color ramp and fill symbol 7. create new color ramp and fill symbol 8. loop through classes and apply color and label 8. loop through classes and apply color and label Class breaks
10
10 Image Rendering Example (7)
11
11
12
12 Image Statistics (1): mean filtering Mean filter
13
13 before after
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.