GIS ObjectLand. User Manual
previouscontentsnext / Map editing / Chapter 17. Adding and editing features / Adding and editing image features

Raster optimization

Source files containing raster images can have very large amount of data. If that's the case, storing image features in their native format would result in a considerable increase of GDB files size. To avoid this trouble one can use the following means provided by ObjectLand:

Setting of usage of these means is performed in the window of image feature editing when the tab Optimization is selected (figure 17-15).

Figure  17-15. Image editing window, page “Optimization”

Figure  17-15. Image editing window, page “Optimization”

In the pane Properties the basic quantitative attributes of a raster image are shown, such as width and height of the pixels array, number of bits per a pixel (this number defines the color depth, i.e. the number of available colors) and also number of pixels per inch, which is defined by the current Windows settings.

The system can use graphic data compression algorithms to store raster images in the GDB. When displaying the image, the system perform raster data decompression automatically.

The degree of compression achieved heavily depends on the image nature and on the number of colors used. If there are many image features stored in the GDB, then compression can considerably reduce the size of the GDB files. The effect of compression on the speed of raster display can be both positive and negative. On the one hand, reducing of the data file size results in decreasing time for reading data from a disk. On the other hand, decompression algorithms require some time for their execution. ObjectLand provides the user with a possibility to choose compressed or non-compressed format of internal representation for every particular image feature.

The checkbox Compression indicates whether compressed format is used for the present image feature or not. When the button Calculate is pushed the system evaluates how effectively compression may be performed. For example, 70% compression means that the raster in compressed form will occupy 30% from the disk memory size which it would occupy in non-compressed form. On the basis of the evaluation the user can make a decision whether to use compression for the present feature and to check the box Compression or to clear it. After pushing the button OK internal representation of the feature will be changed accordingly.

The pane Optimization methods gives the user a possibility to reduce data size for the image feature using format conversions which results in some quality loss for the image. Before executing the selected conversion, its result is previewed in the editing window, so the user can cancel the conversion if the quality degradation is too perceptible.

ObjectLand proposes the following optimization methods:

The system permits to choose from the list only those methods which would result in reducing data size as compared with the source format. For instance, 8-bit raster can be converted to 4-bit or monochrome, but an attempt to choose N = 24, 16 or 8 will cause a message in the pane: “Method is unapplicable”.

To execute the selected conversion one should push the button Perform. If the conversion result does not suit the user, he or she can cancel it by pushing the button Initial image. However, the following should be taken into consideration:

previoustopnext