-
SIDIMG: Importing the MrSID raster format to IMG or JPEG
The MrSID files are highly compressed raster files thanks to the use of wavelet transforms. MrSID typically uses lossy compression (also called non-conservative, degrading, or lossy) (like the JPEG format) and, therefore, the quality is inferior (perhaps imperceptibly) in relation to the data from which it was generated. As a counterpart, it is the type of compression that most strongly compresses an image; In spite of this non-conservative character, the images usually have a visual appearance very similar to the original ones, unless they have been generated with extremely high compression levels; This is an important difference in relation to the conventional JPEG format, which begins to present visual artifacts at lower compression levels. On the other hand, the MrSID format can also be efficiently compress and even without degrading the values of the original image (lossless, conservative, or lossless compression) although in this case the compression levels are not as high.
This module allows to obtain the information of the internal metadata of the MrSID format, import a MrSID to a JPEG format (of grey or RGB, depending on the MrSID file) or extract between one and three IMG bands of a MrSID.
When MrSID images have been compressed without loss, it may make sense to recover the images as IMG files for analysis, although this implies that the files can occupy much more disk space than the original images.
In the case of importing to JPEG files, the conversion may become impossible if in this format the converted image occupies more than 2 Gbyte.
Mostra medadades:
Mostra les metadades internes que hi ha desades dins del fitxer MrSID.
JPEG:
Genera un fitxer JPEG a partir d'una imatge MrSID.
IMG:
Genera 1 fitxer IMG a partir d'un fitxer MrSID de grisos.
MULTIBANDA:
Genera 3 fitxers IMG a partir d'un fitxer MrSID de 24 bits.
Syntax:
- SIDIMG 0 FileNameMrSID
- SIDIMG 1 FileNameMrSID NameFileJPEG [/QUALITAT] [/FWORLD]
- SIDIMG 2 NomFitxerMrSID NomFitxerIMG [/QUALITAT] [/FWORLD]
- SIDIMG 3 FileNameMrSID FileNameIMG_R FileNameIMG_G FileNameIMG_B [/QUALITAT] [/FWORLD]
Options:
- 0: Shows the internal metadata that is stored inside the MrSID file
- 1: Generates a JPEG file from a MrSID image.
- 2: Generates a JPEG file from a grey MrSID file.
- 3: Generates 3 IMG files from a MrSID file of 24 bits.
Parameters:
- FileNameMrSID
(MrSID File Name-
Input parameter): Is the name of the MrSID file v2 or v3 to transform.
- FileNameJPEG
(JPEG File Name -
Output parameter): Is the name of the JPEG file resulting from the transformation.
- FileNameIMG
(IMG File Name-
Output parameter): is the name of the IMG file resulting from the transformation for MrSID of a single spectral band (grey).
- FileNameIMG_R
(Red IMG File Name-
Output parameter): is the name of the IMG file resulting from the transformation of the red band of the RGB triplet.
- FileNameIMG_G
(Green IMG File Name-
Output parameter): is the name of the IMG file resulting from the transformation of the green band of the RGB triplet.
- FileNameIMG_B
(Blue IMG File Name-
Output parameter): is the name of the IMG file resulting from the transformation of the blue band of the RGB triplet.
Modifiers:
/QUALITAT= Compression quality in a range [0,100], where [5,95] is the useful range although in many cases it is advisable to enter a value between 70 and 75 (default is 75). Low values indicate very poor quality but much compression (Input parameter) /FWORLD (WORLD File) It allows to generate a world file (georeferencing) with the indicated extension. It can be indicated /FWORLD to generate it using the default extension.(Input parameter)