Version | Program | Download Linux 64 bits | Compiled using | Comment |
---|---|---|---|---|
2025.3b | xrit2pic | xrit2pic64_2025_3b.tgz | Ubuntu 20.04.1 | See release notes. |
xrit2pic_cmd | xrit2pic_cmd64_2025_3b.tgz | Ubuntu 20.04.1 | ||
2024 | HDF5 libs | libhdf5_decompr.tgz | Needed from xrit2pic version 2023 on (5 libs) Contains installation script with guide. | |
2006.09/ 2021.01 | JPEG and wvt decompression libs | decompr64.tgz | ||
2.0 | Needed gtk-libs | sudo apt-get install libgtk2.0-dev |
Version | Program | Download Windows 64-bits | Comment |
---|---|---|---|
2025.3b_v2 | xrit2pic | setup_xrit2pic32_2025_3b_v2.exe | See release notes. |
xrit2pic_cmd | setup_xrit2pic_cmd64_2025_3b_v2.exe | ||
2023 | all needed libs | setup_xrit2pic_libs64_v2.exe | See below. NOTE: installs plugin near program! |
2.0 | needed gtk libs (gui only) | setup_gtk20dll.exe | See below. |
what | install program | Default location | comments |
---|---|---|---|
program | setup_xrit2pic_cmd64_<release>.exe | \tools\alblas | |
libs | setup_xrit2pic_libs64.exe | \tools\alblas | |
plugin | setup_xrit2pic_libs64.exe | \tools\alblas | |
program gui +extra libs | setup_xrit2pic32_<release>.exe | \tools\alblas | Only needed for gui! See gui comments |
gtk-libs for gui | setup_gtk20dll.exe | \tools\alblas | Only needed for gui! See gui comments |
type | exe/dll | contains | Install location |
---|---|---|---|
executable | xrit2pic_cmd.exe | The program | \tools\alblas |
Libs | jpeg812_64.dll | jpeg 8/12-bits | \tools\alblas |
wvt_64.dll | Wavelet decompression | ||
libstdc++-6.dll | needed for wvt.dll | ||
libwinpthread-1.dll | |||
libgcc_s_seh-1.dll | |||
hdf5.dll | hdf5, suitable for fcdi decompression | ||
zlib.dll | |||
plugins | H5Zjpegls.dll | MTI decompression | \tools\alblas See NOTE below! |
charls-2-x64.dll | |||
gui exec | xrit2pic.exe | xrit2pic gui, 32-bits | \tools\alblas |
mtg_hdf_ext.exe | external jpegls decompr, 64 bits (executed by xrit2pic) | ||
libs 32-bit | jpeg812.dll | jpeg 8/12 bits, 32-bits | \tools\alblas |
wvt.dll | wavelet decompr, 32-bits | ||
libatk-1.0-0.dll libcairo-2.dll libgdk-win32-2.0-0.dll libgdk_pixbuf-2.0-0.dll libglib-2.0-0.dll libgmodule-2.0-0.dll libgobject-2.0-0.dll libgtk-win32-2.0-0.dll libpango-1.0-0.dll libpangocairo-1.0-0.dll libpangowin32-1.0-0.dll libpng12-0.dll | gtk2.0 32-bits | \tools\alblas |
NOTE: It is assumed that all files are installed in \tools\alblas. If you want to install in a different directory:
There are a few drawbacks:
NOTE for setup _v2.exe's:
The plugin files are now installed at the same location as the tool! This is to prevent problems with other MTI-tools.
Also, a bat file is added, in which the link to the plugins is added.
The properties of the icon will be adapted by the setup.
Info gui
Unfortunately the combination 'gui' and 'mtg decompression' gives some problems in my environment.
As a temporary(?) work-around the gui/basic processsing is split into 2 programs:
The only program to deal with is the gui.
If decompression of MTG-data is needed then the gui will execute mtg_hdf_ext,
and the decompressed data will be read into the gui.
This is a bit strange; no more than 1,3G is needed, but program crashes with 1G,
where for 32-bits OS more than 2G should be possible.
A "solution" is to lower the generated resolution:
New (2025.3a,b)
MTG: Mixed FDHSI (16 channels) and HRFI (4 channels) possible, for composites. With -src2 option you can define a second source directory, e.g.:
Or: in Linux you can easily link all files in 2 directories to one third directory:
NOTE:
With hdf5 it is possible to lower the resolution (this is a feature in hdf5). But overlays will not all work.
If an overlay doesn't work then check:
If no xrit2pic.ini is available then everything is default and hdf.image_maxsize=0 already.
set 'Max. picture size' to 0
hdf.image_maxsize=<some number>
Change to:
hdf.image_maxsize=0
Step by step usage xrit2pic in command shell
Help
Show all options:
Show some example commands:
Prepare
Note: You can still add the -src/-dest options, e.g. in a batch file, they will override the saved settings.
Generate single channel file
If no filters are added xrit2pic will translate all present files.
The -test option shows what would be generated, without actual generation.
Add channel filter, e.g.:
Using preferences '/home/ralblas/xrit2pic.ini'...
====================================================
112 items (files) found.
----------------------------------------------------
[25-04-14 19:24] Nr. channels selected which may be used for generation: 4
[25-04-14 19:24] Test: would translate vis_06_hr to <location2>MTI1_vis_06_hr_250409_0750.pgm
[25-04-14 19:24] Test: would translate nir_22_hr to <location2>MTI1_nir_22_hr_250409_0750.pgm
[25-04-14 19:24] Test: would translate ir_38_hr to <location2>MTI1_ir_38_hr_250409_0750.pgm
....
You may use wildcards, e.g.:
Using preferences '/home/ralblas/xrit2pic.ini'...
====================================================
112 items (files) found.
----------------------------------------------------
[25-04-14 19:26] Nr. channels selected which may be used for generation: 1
[25-04-14 19:26] Test: would translate vis_06_hr to <location2>/MTI1_vis_06_hr_250409_0750.pgm
[25-04-14 19:26] Test: would translate vis_06_hr to <location2>/MTI1_vis_06_hr_250409_0800.pgm
...
Add time/date filter, e.g.:
You may use wildcards, e.g.:
Using preferences '/home/ralblas/xrit2pic.ini'...
====================================================
112 items (files) found.
----------------------------------------------------
[25-04-14 19:29] Nr. channels selected which may be used for generation: 1
[25-04-14 19:29] Test: would translate vis_06_hr to <location2>/MTI1_vis_06_hr_250409_0800.pgm
====================================================
Now start generation, just remove the -test option:
You can add option -jpg to generate a jpeg file.
Using preferences '/home/ralblas/xrit2pic.ini'...
====================================================
112 items (files) found.
----------------------------------------------------
[25-04-14 19:30] Nr. channels selected which may be used for generation: 1
[25-04-14 19:30] Translated vis_06_hr to <location2>MTI1_vis_06_hr_250409_0800.pgm
====================================================