Moravian instruments, Inc., source: https://www.gxccd.com/art?id=413&lang=409, printed: 30.04.2025 20:10:39
Main page▹Product Overview▹Software | 26.6.2013 |
---|
Scientific Image Processing System (SIPS for short) evolved from simple camera control software to rather complex system for acquiring and processing scientific and astrophotography images. SIPS evolution continues and v2.1 adds numerous new features designed to make observations simpler, more reliable and less demanding for observer attendance. The software is supplied with all Gx series of CCD cameras and can be also downloaded from this web site for free. |
SIPS version 2.1 is the first minor release from the introduction of SIPS v2.0, adding many of new functions. It follows two service releases SIPS v2.0.1 and SIPS v2.0.2, which main purpose was fixing of some problems, caused by very significant architecture changes in SIPS v2, and which added only a few new features. InstallationSIPS was always available as a set of executable files and DLLs, which could be placed (copied) to any directory (including for instance USB Flash Drive etc.). SIPS did not require installation, particular registry entries etc. This brought significant freedom on the one side (e.g. numerous versions could be used side by side), but at the same time this approach required all necessary libraries to be already installed on the particular computer. Beginning with version 2, SIPS is built using Microsoft Visual C++ 2008 compiler, so it requires particular runtime C-libraries are already installed to operate properly. These libraries are already installed on many systems (typically Windows 7) and if they are missing (e.g. on older Windows XP), it is possible to downloaded them from Microsoft web site for free and install them (exact package name is Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)). Still numerous users were left helpless when SIPS refused to launch due to missing runtime library. This is why we decided to provide also proper installation package for SIPS. Running of this package checks whether all required libraries are already installed and installs them if they are missing. Then the installation package installs SIPS itself. Still, the original SIPS distribution consisting of a bunch of executable files, DLLs and configuration files is still present on the USB Flash Drive shipped with cameras as well as it is downloadable from the web site. New featuresSome new features are not specific to any particular tool or algorithm and affect whole SIPS.
Parallelized execution of critical algorithmsSIPS v2 moved all time consuming tasks (e.g. downloading images from camera, but also opening number of large images, calibration and transforming of image sets etc.) into background threads, so the user interface was no longer blocked by these tasks and become more responsible. Subsequent releases then added parallel execution of critical algorithms on multi-core processors. This is especially important when single-core processors disappeared from the market and even the slowest and cheapest PC can process at last two processes at once. If the software is capable to runt only single task at once, half of resources stay unused. Modern CPUs can run four, six or even eight tasks simultaneously, so proper division of work among multiple cores can speed up all tasks up to 8 times (this information will be outdated as early as more cores appear in common CPUs). SIPS is designed to split the time consuming work among all available cores, there is no certain limit of number of cores. For instance if the PC is equipped with 2 CPUs, each capable to run 8 threads in parallel, SIPS splits hard work to 16 execution threads to use all CPU power modern PCs offer. The following algorithms are parallelized:
So how fast is SIPS on various computers? We assembled a test consisting of identifying of all stars on a single 3072 × 3072 pixels FITS file. There are almost 25,000 stars on the image, detected with predefined settings (requires S/N ratio etc.). Although this test is well parallelized (runs on all available cores), it is not typical GPU-like test, simply performing some operation with every pixel of the image (e.g. like Gaussian blur etc.). After all, stars are not placed in regular pattern and have different FWHM etc. This test also pretty well utilizes all CPU resources, like caches (FIST file has ~18 MB of data), majority of calculations are performed with integer numbers but also floating point algorithms are present (e.g. calculation of pixels RMS within each aperture) are performed.
Standard SIPS test time on various CPUs (lower is better) Remark: Intel Core i5 and i7 CPUs frequency is boosted if the power envelope allows it. Stated frequencies are nominal for all cores running at 100% and maximal single thread frequency. Result is clear—modern four-core Intel Core i5 and i7 processors offer highest computational power and modest power consumption. Speed advantage of Core i7 relative to i5, caused by ability to run two threads on single core (so-called HyperThreading technology), is only about 10%. CCD Camera toolMajority of new features were added to CCD Camera control tool. Exposure tabSIPS v2.1 was enhanced to support preflash feature of Gx cameras. If the particular camera model supports preflash, two new controls are enabled: Preflash [s] and Num. clear. Preflash is intended to suppress so- called Residual Bulk Image (RBI) effect. RBI is thoroughly described elsewhere, we have not enough space to describe it in detail here. Simply put, majority of CCDs keep some charge after light exposure in CCD substrate. Such charge only slowly disappears (the cooler the CCD, the longer the process takes). The result is a star pattern, exposed for long time, could be seen even on dark frames acquired immediately after light images. While it is enough to wait for a certain time before dark frames are exposed (and to adjust observing program so no dark frames are taken immediately after light or flat field exposures), RBI in some CCD detectors disappears so slowly, that the problem must be handled different way. Instead of waiting for detector empty state, CCD is saturated by near-IR light using LEDs inside the CCD chamber. This leaves CCD in full state, which unifies conditions before any exposure regardless if dark or light frame was exposed. This is not without trade off, preflashed CCD exhibits higher dark current compared to empty detector. Keeping the Preflash [s] box on zero eliminates preflash feature at all. If the value is non-zero, NIR LEDs switched on for several seconds saturate the CCD and then it is necessary to perform CCD clear operation several times before real exposure starts. Second parameter Num. clear allows definition of number of clear operations performed before real exposure. Optimal values depend on particular CCD detector, its temperature etc. As general rule, preflashing for a few seconds is enough to completely saturate the CCD and clearing several times unifies the conditions. But every user can experiment with these parameters or even not to use preflashing at all, depending on the observing program. Warning: Preflash and subsequent clear is performed before every single exposure (bias, dark, light, flat). Time to perform several seconds preflash and the several clears significantly prolongs the time necessary to take every exposure. This influences especially short exposures, where such overhead can exceed normal exposure and download times. New check-box Download if interrupted was added. While the Save if interrupted option was included into previous versions, image was always downloaded even if exposure was aborted. New check box allows the user to determine if the interrupted exposure is immediately abandoned or at last downloaded to the PC. Only if it is downloaded, it is possible to choose whether it should be saved or not. The last new feature is the ability to define sound, which is to be played when the exposure finishes and image is downloaded into PC. The sound can be any WAV, WMA or MP3 sound file. Sound files are stored individually for each exposure type (light, dark, etc.). Series tabExposure series can also notify its finish with sound. Just check the Play sound on series end control and define the sound file. Frame tabFrame tab allows much faster definition of binning. First it is much simpler to return to full resolution (binning 1 × 1) by clicking the command button, e.g. after finding of the desired field of view, which is often performed at maximal binning to achieve faster download. Also newly introduced common XY-binning count box controls binning in both axes. Please note the common binning count box allows definition of binning only up to lower of bot horizontal and vertical limits. If for instance camera offers 1..4 horizontal binning and 1..16 vertical binning, common binning can be set only in the 1..4 range. Hint: The Focus Frame command button sets the sub-frame dimensions to 192 × 192 pixels, which is the size of image displayed in Focus tab. But Focusing was enhanced to enable scrolling of bigger sub-frame, so it is no longer necessary to read such small sub frame. This feature is described in the next section. Focus tabFocusing tab underwent most significant changes. First, the sub-frame size for focusing is no longer limited to 192 × 192 pixels. Focus area image pane displays scroll-bars if the subframe read from camera is larger (or possibly the whole frame could be read). However, the Brightest pixel profile pane shows history of profiles only from the visible portion of the downloaded images. The Brightest pixel profile pane height was halved and the remaining space occupies new pane Brightest pixel history. This pane shows previous exposures history of the brightest pixel value, which allows choosing of the optimal focus position. The most important enhancement is the ability to automatically focus star images. Automatic focusing is based on the assumption that the best focused image of a star creates the highest pixel value(s). So the task of the autofocus procedure is to find a focuser position in which the brightest star displayed in the Focus area pane achieves highest pixel values. Autofocus is performed in three steps:
Remark: Autofocus requires SIPS can control motorized focuser. This means a focuser driver must be installed and the focuser must be online. Guiding setupGuiding setup tab was redesigned to utilize somewhat larger CCD Camera tool window. Tool buttons, used in previous SIPS versions due to limited space for proper buttons, were removed and standard command buttons with text labels are used instead. New parameters Min. pulse [s] were introduced in addition to already existing Max. pulse [s]. These parameters allow definition of a minimal pulse used to guide the mount. If the detected difference leads to a correction pulse shorter than the value of minimal pulse, correction action is entirely skipped and new guiding exposure is started. Important addition is the ability to play sound in the case of guiding failure. It is possible to define a number of subsequent failures not to cause alarm too early, e.g. when a single exposure fails. Hint: Alarm caused by guiding failure is a very good indicator of weather conditions, because the most frequent cause of guiding failure is missing guide star due to clouds. GPS ControlGPS control lost the ability to propagate location coordinates to New FITS Header tool. In fact, it is still possible to use coordinates from GPS in New FITS header, only the direction was swapped. Instead to GPS tool propagating coordinates to other tools, other tools has the capability to update coordinates from GPS. This change was motivated increasing number of tools, which need coordinates (e.g. Telescope control tool), so the responsibility was moved to individual tools. Hint: Windows Vista and Window 7 introduced somewhat complicated system of user rights (privileges). Because outdated and poorly designed software often requires rights like write access to Program Files directory, many users of Windows systems worked at Administrator privileges to allow such software to run. But this almost eliminated the security protection of the whole system—Administrators could update any portion of the system, so computer viruses running within the context of users with administrative privileges could compromise all operating system files. This is why Microsoft introduced a concept of super-administrator. Even administrators are somewhat restricted and only processes, explicitly launched with super-administrator rights, can modify operating system files, protected portions of Registry database etc. Among the blocked functions is the capability to alter system time. So if SIPS has to update system time according to very precise GPS time, it must be run at super-administrator privileges (right-click the SIPS icon and choose Run as administrator item in the pop-up menu). Otherwise the system time remains unchanged despite the checked Synchronize PC time with GPS time option. New FITS Header toolCommand button Get location from GPS reads coordinates and elevation from GPS and fills the LONG-OBS, LAT-OBS and ELEV-OBS keyword values. This function is of course enabled only if GPS driver is installed and particular GPS receiver is online and provides location data. Telescope controlTelescope tool significantly reduced the amount of information read from the telescope controller. Previous SIPS versions read also Azimuth/Elevation and time in addition to equatorial coordinates (R.A. and Dec.) from the telescope controller. But telescope controllers often utilize low performance processors and calculation of azimuth and elevation could consume quite a long time. On the other hand computational power of modern PCs is awesome and calculation of azimuth and altitude every few seconds takes almost unmeasurable small amount of CPU time. This is why SIPS took over these algorithms and computes telescope azimuth and elevation itself. Time used for calculation is taken from PC system time. If GPS tool synchronizes this time, it is very precise. Another information necessary for calculation is telescope geographic coordinates. Telescope control tool newly contains Longitude and Latitude controls allowing the user to define these coordinates. Also Get location from GPS button is present. This function is of course enabled only if GPS driver is installed and particular GPS receiver is online and provides location data. Another new feature of the Telescope tool is the ability to play sound alarms on two conditions. One condition is related to azimuth, another to altitude. It is possible to play alarm when a telescope coordinate is lower or greater than a predefined limit value. These alarms can be used e.g. to swap German Equatorial Mount if azimuth passes local meridian or to terminate the observation if the altitude of observed objects is lower that defined minimal altitude etc. The last new feature of Telescope tool is simple catalog function. A new file 'catalog.ini' is shipped with SIPS v2.1. This is simple text file, so every user can modify it or create his/her own catalog files. SIPS always reads file named 'catalog.ini', if any changes are made or multiple catalog files are created, it is always necessary to rename the desired file to 'catalog.ini' and place it into SIPS directory (from which 'sips.exe' is launched). Function of catalog file is simple. Every time the user chooses particular catalog entry, coordinates of the entry are copied to New R.A. and New Dec. controls. It is then possible to GOTO or Synchronize the telescope with new coordinates. Structure of 'catalog.ini' file is as follows. Individual sections are used as individual catalogs, displayed in the first combo box. Section names are in square brackets in the file. Following lines represent individual catalog entries and they are displayed in the second combo-box. [M] 1 5 34 30 22 01 0 Tau 8.4m Pl (Crab Nb) 2 21 33 30 -00 49 0 Aqr 6.5m Gb 3 13 42 12 28 23 0 CVn 6.4m Gb [NGC] 1 0 7 18 27 43 0 Peg Gx 12.9m 6 0 9 30 33 19 0 And Gx 13m 14 0 8 48 15 49 0 Peg Gx 12.1m The example above defines two catalogs named M and NGC with three items in each. Each item line contains following fields separated by space:
Focuser controlFocuser controller tool windows newly displays focuser state (Moving or Steady). Also if the focuser controller provides temperature measurement, the temperature is displayed in the tool window. Dome controlSIPS Dome control tool was also slightly altered. If the dome controller electronic provides information about dome temperature and/or cloud cover, particular information is displayed in the tool window. Another functionality like sound alarms when cloud cover passes certain limit will be implemented in the following versions. Bug fixesThe following problems were fixed:
SIPS v2.1 is a freeware and can be downloaded from the download section of this WWW site. |