Remote Sensing Image Operation (imagedataoperation)
Introduction
Demonstrate stretching, cropping and display control of remote sensing image data, including Gaussian stretching, maximum stretching, standard deviation stretching, histogram matching, etc.
Operation effect
Figure: Remote Sensing Image Operation Operation Effect |
Location
Android Studio
- Product package: Product package\SampleCode\SampleCode_AndroidStudio\AndroidStudioSampleCode\imagedataoperation
ADT
- Product package: Product package\SampleCode\SampleCode_ADT\DataImage
Data
Storage location
- Product package: Product package\SampleData\tifData
Deployment Location: mobile device internal storage\SampleData\tifData
License
Offline license, copy the license file to the "mobile device internal storage\SuperMap\License" folder.
Library
jar |
---|
com.supermap.data.jar, com.supermap.mapping.jar, com.supermap.analyst.jar |
so |
libimb2d.so, libgnustl_shared.so, libQt5Core.so, libQt5Gui.so, libQt5Svg.so, libQt5Widgets.so(Note: Starting from version 11.1, the last five so libraries need to be added.) |
Key types/members
Control/Class | Method |
---|---|
DataConversion | importTIF(), exportTIF() |
LayerSettingImage | setDisplayBandIndexes(), getDisplayBandIndexes(), setImageStretchOption() |
RasterClip | clip(), split() |
ImageStretchOption | setStretchType() |
Basic steps
- Click the [Image Stretch] button, select the stretch mode to perform image data stretching operation;
- Click the [Image Clip] button, select the clipping method to perform image data clipping operation;
- Click on the [Display Control] button to control the band display of the image data.