Tuesday, 10 June 2025

H-alpha image colourisation and the adding of to-scale images of the Earth and Jupiter with Sylvain Weiller's 'Solar Gun' software

The monochrome solar H-alpha image showed lots of structure but it had a background gradient as frequently happens. In a colourised image background gradients show up much more than in monochrome images. It is best therefore to reduce or eliminate the background gradient.

Click on an image to get a closer view

The background extraction was carried out in GraXpert


The interpolation method used was Kriging. the sampling points were set automatically and any that overlapped the edge of the Sun were either moved or removed.

Animation alternating between the original image and the Gradient-Corrected image


The background, which was lighter at the bottom of the image is much more even following background extraction.

Gradient-corrected monochrome image of the Sun


The software used to colourise the image and also to add to scale, images of Jupiter and/or the Earth was Solar Gun, written by Sylvain Weiller and can be obtained HERE.


Solar Gun in operation




Colourised image of the H-alpha Sun with added scale images of the Earth and Jupiter



Solar Gun can apply negative colouration



Negative Colourised H-alpha image



Solar Gun is a welcome addition to a Solar-imager's toolkit and produces pleasing results. It should be noted that in addition to the palettes provided by the software, it is possible to extract a palette from almost any other solar image using another of Sylvain's programs: Color Palette Generator, and the generated palette can be used in Solar Gun to colourise your image.

Colourising a Ca K-line image with a palette produced in Color Palette Generator from a Ca K-line image on the Internet


Of course, the placing of to-scale images of Jupiter and or Earth is optional.

Saturday, 7 June 2025

Gimp workflow for fixing elongated stars Part 3

 Gimp workflow for fixing elongated stars Part 3

This workflow is possibly the simplest and can be done either in Gimp or Photoshop. It uses the EQ mounted Seestar S50, 2h of 30s exposures that produced an image with slightly elongated stars when stacked. The elongation of the stars was in one direction.

The flowchart shows the workflow of Part 3

Click on an image to get a closer view

Flowchart



Original Image with elongated stars



Image with original nebula and repaired stars



Animation of Original Image with elongated stars and Image with original nebula and repaired stars


This seems to be a reasonable workflow for fixing stars that are elongated in one direction.

Wednesday, 4 June 2025

Gimp workflow for fixing elongated stars Part 2

Gimp workflow for fixing elongated stars Part 2

Click on an image to get a closer view if required.

We shall use the same EQ mounted Seestar S50 data that we used in Part 1.

In Part 1 we saw that elongated stars were distorted back into shape by using Select by Colour, Select > Grow and the Distort filter Value Propagate.

The Value Propagate Distort filter propagates the edges of pixels in various controllable directions as shown by the Value Propagate dialog. This distorts the various objects in the image without changing the size of the image.

More White Propagate



More Black Propagate

It can be seen in these dialogs what is propagated and in what direction.


Gimp workflow Part 2

This workflow is simpler in some ways than the workflow in Part 1.

However we do not select the stars, we work on the entire image.

Part 2 workflow

   Load the image with elongated stars into Gimp (It is best if the image is a 16 bit linear image. It can       be converted in Gimp if required). (Duplicate it because it will be required later.)

   Apply Filters > Distorts > Value Propagate to the image more than once, alternately using More White and More black controlling the direction(s) of propagation each time and finishing with More black. (Probably 2 or 3 applications of Value Propagate will be enough to distort the stars into the correct shapes). Even 1 application of Value Propagate might make the stars round. Later, when the stars are removed they can be added back with less prominence to compensate for their increased brightness.

    Of course everything in the image will have been slightly distorted but that doesn't matter

    Remove the stars from the original image using Starnet++


Here we are going to use the command-line version of Starnet++ but using a small Python program and an IDE called Thonny to control it and make its use simpler.

We have tested this in Windows and in Linux and they both work identically and perfectly.

First it is necessary to download and extract the Starnet++ command line software for either Windows or Linux as required. We have extracted it to the Desktop in both cases. You do the same, you can always put it somewhere else at a later date if required.

It can be downloaded from https://www.starnetastro.com/download/

Then it is necessary to download the Python IDE Thonny for the appropriate operating system.

Follow the download link from https://thonny.org/  download and install Thonny.

Copy the following script into a text editor and save it as Starnet-plus-plus.py into the Starnet++ folder on your desktop



import subprocess

# Ask user for the input filename

input_file = input("Enter the input image filename (must be a 16-bit TIF without an alpha channel): ")

# Ask user for the output filename

output_file = input("Enter the Output image filename: ")

# Run StarNet++ command

subprocess.run(["./starnet++", input_file, output_file])

print(f"Processing complete. Output saved as {output_file}.")


There are some test data that you can practice on in the Starnet++ folder on your desktop this folder. This is where your 16 bit .tiff image to have its stars removed needs to be placed. It is also where the resulting starless image will be placed. In this example we placed our 16 bit .tiff image. Open the Starnet++ folder and right-click on Starnet-plus-plus.py and select Open With Thonny.


This will launch the Thonny IDE with Starnet-plus-plus.py open in it.

Linux Version



Windows Version

The Linux and the Windows version look essentially the same and they both have the green triangle RUN button at the top of the Thonny window.

Clicking on the Run button will run the program and the user is asked to enter the 16 bit .tiff filename (the file must already have been placed in the Starnet++ folder)

When the input filename has been entered and Enter has been pressed the user is asked to enter the filename required for the starless image. Any filename such as starless.tiff could be used.

As in 3) above, pass into the program the Original image with the elongated stars, which will have the stars removed and just contain the original nebula.

Start of the Thonny run


Finish of the Thonny run



The starless original image processed to the user's requirements Image A


Distorting the original starry image to correct the stars

Part of the original starry image with elongated stars


First Value Propagate Distort


Second Value Propagate Distort


Preparing stars to add back to the starless image

Remember that the stars that were removed from the original image were elongated.

Image with stars fixed (Image B)



Image B with stars removed (Image C)




Image C subtracted from Image B as layers and flattened, producing an image of the stars (Image D)



Image D is then added as a layer to Image A and flattened, producing an image with the original nebulosity and the repaired stars. Before the image was flattened and Image D was the top layer, curves was applied to the top layer to slightly reduce the prominence of the stars in the final image.

Final image of M16 


The stars have been considerably improved by this process and we are satisfied with the result.

We have used a Python program running in a Thonny IDE as an adjunct to the Starnet++ command-line program to make the use of it simpler. However, of course, depending on the environment in which you are working, Starnet++ could have been used as a Gimp plugin (but not for Gimp 3 at the time of writing) or as a Siril plugin. It is my practice to use discrete programs to do discrete processes such as GraXpert to extract backgrounds and denoise and Siril to photometrically correct images. In this way, the command line Starnet++ fitted in well.

Sunday, 1 June 2025

Gimp workflow for fixing elongated stars Part 1

Gimp workflow for fixing elongated stars Part 1

Click on any image to get a closer view

Our first attempt at EQ mode Seestar S50 30s exposures was on M16 the Eagle nebula.

The Seestar EQ mounted using a Skywatcher EQ wedge


120 x 30s exposures were captured that is a total exposure time of 1 hour. Tracking wasn’t particularly good, with many of the individual sub-frames showing some slight star trailing which was not severe enough to cause the frame to be rejected during capture.

The sub-frames were pre-processed and stacked using the Siril Script: Seestar_Preprosessing.ssf


The resulting stacked image shows a number of typical problems. There is a gradient across the image, there are some edge artefacts just visible due to the imperfect tracking and also slightly elongated stars. The image shown here is stretched for viewing but is still linear.


Detail from the image above showing the distorted stars


It can be seen clearly that the stars are trailed slightly in a roughly horizontal direction

The linear image was taken into GraXpert where the background was extracted and the image denoised and the unstretched image was saved as a 32 bit fits image.

This image was then opened in Siril where it was plate solved and then Photometrically Color Corrected. Then the image was cropped to remove the edge stacking artefacts.

The linear image was opened in the Gimp and Colors > Curves were used along with Levels to brighten up the image and keep the dark areas dark.


The slight star trailing distortions are clearly visible.

The next stage is to use a Distort Filter, Value Propagate to fix the stars in two stages.

In the Gimp:

    Tools > Select > By Color Select

     We set the threshold to 100 (but it might depend on the image being processed)

    Click on a star and most of the stars should be selected.

    Click on Select > Grow

*** (see later)

     We set the Grow factor to 3 pixels (but it might depend on the image being processed)

        Click on Filter > Distort > Value Propagate


The Mode is More white (larger value)

The boxes by To left and To right have been unchecked. This results in the stars being brighter but more round.


Click on OK

Click on Select None and we have an image with bigger, rounder stars.


Tools > Select > By Color Select

Click on a star

Click on Select > Grow

 We left the Grow factor at 3 pixels

Click on Filter > Distort > Value Propagate



The Mode is More black (smaller value)

The boxes by To top has been unchecked. This results in the stars being smaller and even more round.


In the Gimp, the Starnet++ plugin is used to remove the stars and to produce a star image.

(The star image is made by subtracting the starless image as an added layer, from the starry image and then flattening the image)

Starless image


Stars image


The stars image is then pasted as a layer onto the starless image. The Mode Addition was used to display the stars in the image.

Then  Colors > Curves was used to reduce the stars to the required amount in the image before the image was flattened. This process can make the stars as conspicuous or inconspicuous as required.

Image with the fixed stars returned at the required amount



Animation of a detail of Elongated stars and Corrected stars


*** It should be noted that when using Select by Colour and Select > Grow, if any of the selection spills out onto areas of the nebula for example where it is not required, those areas can be protected by holding down Ctrl and drawing around the affected area with Free Select, on releasing Ctrl, the area will have been deselected whilst the rest of the stars remain selected

Deselected area



It should be remembered that at the time of writing, Starnet++ has not yet been ported to Gimp 3.0. Therefore Gimp 2.10 had to be used. However, it would have been possible to do the star removal using Starnet++ in Siril, if Gimp 3.0 was to be used for the Value Propagate Distort filter.
This workflow has substantially improved the stars in the image. It should be noted that an AI process has NOT been used to repair the stars. The only places where AI processes are used were in background extraction, de-noising and star removal. Non of these processes produce changes to the structure of the nebulosity and introduce unreal aspects to the image. The changes in size and shape of the stars all takes place in the Value Propagate dialogue.

Saturday, 12 April 2025

Locating the Moon with an imperfectly polar-aligned mount

Our main imaging location is at the front of the house where the celestial pole is obscured by the house. The mount we use is a Celestron AVX mount and some time ago we performed an any-star-polar alignment. Then we placed marks on the ground so that we would be able to place the mount back in the same position in the future.

Marks on the concrete slab to enable positioning of the mount


This arrangement works very well, but of course it is not absolutely precise. For our main task of testing during the development of AstroDMx Capture, the slight imprecision is an advantage because the location and centering of deep sky objects requires plate-solving rather than high polar-alignment precision.

The control of the mount is by AstroDMx Capture via an INDI server running on the imaging computer indoors. The camera is also controlled by AstroDMx Capture.

The problem arises when we wish to image the Moon. In this case the imprecise polar-alignment leads to the Moon being missed. Moreover, with the cameras used for Lunar imaging, plate solving is often not as easy as it is with deep sky imaging cameras, particularly under the bright glare of the Moon. Therefore another solution was used to locate the Moon.

If the finder-scope shoe was perfectly co-aligned with the optical axis of the scope, then it might be possible to use a guide-scope such as the SVBONY SV165, which has no lateral movement controls. The SV165 has a focal length of 120mm and an aperture of 30mm. It has a wide field of view which makes it suitable as a guide scope but wide enough to be able to pick up the Moon if it has been missed by the Main scope. The Ekinox ED 80mm rafractor that we use for some of our lunar imaging has a slightly offset finder-scope shoe, so using an SV165 guidescope is not possible. Instead, a low cost photographic gimbal was used so that in advance of the lunar imaging session the gimbal controls could be used to precisely co-align the SV165 with the Ekinox 80mm. A more conventional guide scope with six-point aiming controls can be used but we have found it to be too easy to disturb the co-alignment during placing the scope on the mount. The gimbal is much more resilient in this respect.

The gimbal plus SV165 guide-scope with a QHY5L-II-M guide-camera mounted on the Ekinox ED 80mm refractor.

It is possible to run two instances of AstroDMx Capture on the same computer, or one instance on one computer running the imaging camera and another instance on a separate computer running the guide camera, a QHY5L-II-M .  When AstroDMx Capture sent the scope to the Moon; as expected, the main scope missed the Moon but the Moon was captured in the field of view of the SV165/QHY5L-II-M combination. The AstroDMx Capture mount nudge controls could then be used to centre the Moon in the SV165/QHY5L-II-M field of view.

The Moon Centred in the field of view of the second instance of AstroDMx Capture running the SV165/QHY5L-II-M combination


When the Moon had been centred in the field of view of the second instance of AstroDMx Capture, it was now in the field of view of the First instance with the SVBONY SC715C main imaging camera. The Moon could then be nudged into the exact position for imaging.

Two overlapping 2000-frame RAW SER files of the Moon were imaged by AstroDMx Capture.

The best 75% of the frames in the SER files were debayered and stacked in Autostakkert!4, wavelet sharpened and white balanced in waveSharp. The two overlapping panes were stitched and cropped in MS Image Composite Editor. The image was further processed in the Gimp 2.10 and ACDSee.

99% Moon


Click on the image to get a closer view.

Wednesday, 26 February 2025

End of the line for ChromeOS support with AstroDMx Capture

With Regret:


Due to recent changes made to ChromeOS by Google, Nicola will no longer be able to support ChromeOS with AstroDMx Capture. Changes in the ChromeOS operating system have resulted in incompatibilities in the Crostini virtual System. ChromeOS is increasingly including portions of the Android stack, like the Android Linux kernel and Android frameworks. This is a significant shift in the underlying architecture and it is most likely this that has resulted in the problems that now exist. The pass-through of USB devices to the Linux virtual system has always been problematical, but the problems seem to now be intractable. It may be possible to stream images at very low resolutions such as 800 x 600, and maybe only though USB 2.0 cables, but this would hardly be useful for most purposes. This is regrettable, but it seems that ChromeOS is no longer what it used to be and that the changes to the OS are increasing. The problems are not with AstroDMx Capture!

Some time ago, on the AstroDMx Capture website this deterioration of the capability of ChromeOS was documented and it was stated that the SV505C did not work under ChromeOS and cautioned that there was no guarantee that other cameras would now work.

Due to the fact that ChromeOS updates are mandatory and that it is not possible to install an older version, the ChromeOS versions of AstroDMx Capture will soon be removed from the AstroDMx Capture website.

Solebat excitando dum duravit.