Regim is a tool that should make processing of astronomical images easier. The focus is on images that were captured with DSLRs or CCD cameras. Regim is meant to make special processing steps for astronomical images easier. These are calibration of raw images (dark and flat calibration), registration and combination of images.

Supported file formats:
  • Uncompressed TIFF-RGB and TIFF greyscale (8 or 16 Bit per channel)
  • FITS-Files (greyscale, RGB, RAW)
  • Camera RAW files
  • JPG-Files

System requirements
  • Minimum JRE version is 1.6
  • Preferably 1024 x 768 resolution or better.
  • Lots of memory, if possible the maximum amount which can be used in OS/2-eCS.
  • Support for multiple processorcores is built in and advisable.

Regim on an eComStation machine with Open JDK

Installing Regim
Download the file Next you need the manual regim_eng.pdf. Open the zip file and copy the directory "regim" to your harddrive. Delete the "sh" and "cmd"(!) files, the latter is made for Windows. That's all! According to the website is the use of OpenJDK not recommended. But I didn't notice any problems. The "regimbugs.txt" and "regim.log" don't show problems, but I didn't test the program to the bottom of what's programmed. So there might be some issues.

The used regim.cmd file
Regim works with Open JDK in OS/2-eCS. I have made a regim.cmd file with the following contents;
@echo off
set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
set path=[drive: java]\JAVA160ga5\bin
[drive: regim]
cd [drive: regim]\regim
set classpath=.\regim.jar;.\it.tidalwave.imageio.raw-1.6.1.jar
java -Duser.home=[drive: regim]\regim -client -Xms64m -Xmx768m -Dit.tidalwave.imageio.raw.defaultSource=rawImage
regim.Regim 2>regimbugs.txt
The last two lines are actual one line, I had to break it up in parts. There is a space between "...=rawImage" and "regim.Regim". I use 2 separate folders (directories), one for Java and one for Regim with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: regim] = drive with Regim

should be replaced by real drive letters. Adjust the file from the distribution below, ie. different drive and directories (maps). Save regim.cmd and copy it to the regim directory (map).

Create a new program object. Specify the path and file name: "[drive: regim]\regim\regim.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "Regim". The download also has a nice OS/2 icon.

Parameters / options explained
  • The specification "-Duser.home=[drive: regim]\regim" will ensure that Regim will save all necessary files in own directory instead of saving them in the home directory.
  • The specification "-Xms64m" specify the initial size of the memory allocation pool and comes from the "sh" files.
  • The specification "-Xmx768m" is a downsized amount because I only have 1Gb in the system. This value must be set as high as possible, the used pictures from the sky are always big if you want to see detail. This value indicates the maximum limit.
  • The other specifications comes from the "sh"-file.
  • The addition "2>regimbugs.txt" ensures that errors are saved in the file "regimbugs.txt". The 2 in "2>" is not a typo! The file doesn't stay empty, some logs are written in it. Also there will be a "regim.log" with different content!

I couldn't resist to use this program with a picture which has nothing to do with galaxy or stars. You can't do much then with the program, but sometimes you get special effects which are not found in other packages in OS/2-eCS.

Regim on an eComStation machine with Open JDK

In the file you can find the above command file (all drive letters are on set to C:) and an OS/2 Regim icon:

revision August 12, 2016