Friday, 28 February 2020

Using an SVBONY SV305 with macOS, AstroDMx Capture for Linux and Oracle VM VirtualBox

SVBONY have not produced an SDK for the SV305 camera at this date. However, using virtualisation, I have been able to use the camera on a MacBook running High Sierra. A previous blog shows AstroDMx Capture for Linux running in an Oracle VM VirtualBox running Lubuntu Linux on a Windows computer. The process of installing the VirtualBox and its Lubuntu Guest operating system is the same as described for Windows. However Right CTRL + C are replaced by Left command + C in the instructions for macOS. Also, enable USB 3.0 in the VM VirtualBox manager, particularly if other cameras are to be used. Moreover it seems that macOS already has virtualisation enabled.

The SV305 camera is fully implemented in AstroDMx Capture for Linux and will run perfectly well in an Oracle VM VirtualBox running Lubuntu Linux.

Screenshot of AstroDMx Capture for Linux streaming data on a painting of comet Hale Bopp by Nick Hart that hangs on our wall.


The installation of VirtualBox and Lubuntu Linux as the Guest operating system is quite straightforward and, until such time as there is a macOS SDK, the virtualisation allows the used of the SV305 on macOS.
Data captured are saved in a shared folder as described in the blog about using VirtualBox in Windows and are available directly for processing in macOS programs or programs running in Wine.

Friday, 21 February 2020

Release of version 0.68.1 of AstroDMx Capture for the Raspberry Pi

Nicola has released the latest 32-bit version 0.68.1 of AstroDMx Capture for the Raspberry Pi.


There will shortly be a maintenance release with a slight UI change to benefit users with very small screens

Thursday, 20 February 2020

M42 with an SV305, a 102mm, f/4.5, ED refractor and AstroDMx Capture for Linux running in a Lubuntu VirtualBox on a Win10 laptop

An SVBONY SV305 camera was placed at the prime focus of a 102mm, f/4.5, ED refractor. AstroDMx Capture for Linux was running in an Oracle VM Virtual Box Lubuntu Linux virtual machine, running on a ThinkPaad X230, Windows 10 host computer.
The scope was mounted on a Celestron AVX GOTO mount. The mount, motor-focuser and the camera were all controlled from indoors using extension cables (active USB cable for the camera).
50 x 10s exposures of the Orion nebula were captured with matching dark-frames.
AstroDMx Capture for Linux saved the 16 bit Tiff files to a shared folder that was accesible by the Windows 10 host computer.

AstroDMx Capture for Linux streaming the image data 

The Lubuntu panel can be seen at the left of the image and the Windows taskbar can be seen at the bottom of the image.
AstroDMx Capture for Linux capturing the data

On the Windows machine, the images were stacked in Deep Sky Stacker and post processed in The Gimp 2.10 and FastStone.

The Orion Nebula captured in the Virtual Linux machine

This experiment demonstrates that it is possible to run AstroDMx Capture for Linux on a Windows10 computer inside an Oracle VM VirtualBox virtual Lubuntu machine. It also works with macOS!

Wednesday, 19 February 2020

Running AstroDMx Capture for Linux in a Lubuntu Virtual Machine on a Win 10 computer

Running AstroDMx Capture for Linux in a Virtual Linux machine on a Windows 10 computer.

The virtual machine will be an Oracle VM VirtualBox which is a level 2, or host hypervisor that runs in a host operating system, as opposed to a level 1 hypervisor that runs on the 'bare metal' hardware.

Windows 10 will be the Host operating system and Lubuntu Linux will be the Guest operating system.

Check to see if virtualisation is enabled on your Windows 10 computer by right-clicking on the Start button, or the taskbar, selecting Task Manager and select the Performance tab.

At the right hand side of the window, underneath the CPU graph, there will be four columns. Look in the column labelled Base speed. The fifth item in this column will be Virtualisation, which will be enabled or not. If it is not enabled, turn off your computer. If it is enabled just carry on.


Then turn on your Windows 10 computer and press F2 (or whatever is the Function key on your machine to enter the BIOS). Search for and enable virtualisation if it is not already enabled.

Download Oracle VM VirtualBox from https://www.virtualbox.org/wiki/Downloads

Click on Windows hosts and save the download file: VirtualBox-6.1.2-135663-Win.exe
Then, from the same page on the website download the VirtualBox 6.1.2. Oracle VM VirtualBox Extension Pack.

(Note that 6.1.2 is the version for both the VirtualBox and the Extension Pack at the time of writing)

Run the VirtualBox-6.1.2-135663-Win.exe file which will install Oracle VM VirtualBox on your Windows 10 computer.

Double-click on the Oracle VM VirtualBox Extension Pack to install it in the Oracle VM VirtualBox Manager. This will allow, for example, the integration of USB 2.0 and USB 3.0 Host Controller.

Download a Linux .iso file. It is best to use a relatively lightweight distribution such as The example we use here is Lubuntu 18.04 a long-term support ‘flavour’ of Ubuntu Linux that can be downloaded at https://lubuntu.me/downloads. These instructions apply to this distribution. Others may differ in their details and suitability for virtualisation.

Launch Oracle VM VirtualBox



Click on the ‘New’ button.

You will be asked to Name the operating system.

Assuming you downloaded the Lubuntu .iso file, enter Lubuntu in the Name box. As you do so, you will note that the Type box becomes populated with Linux and the Version box becomes populated with Ubuntu (64-bit).

Click on the Next button.

You will now be on a page about Memory size. Just go with the default and click on Next unless you wish to allocate more memory.

You will now be on a page called Hard disk. Go with the default, which is Create a virtual hard disk now. Click on the Create button.

You will now be on a page called Hard disk file type. Go with the default which is VDI (VirtualBox Disk Image). Click on Next.

You will now be on a page about Storage on Physical hard disk. Go with the default which is Dynamically allocated. Click on Next.

You will now be on a page called File location and size. Unless you have a reason to do otherwise, go with the default and click on Create.

You will see your new virtual machine at the left-hand side of the window.
Click on the Start arrow button.

The VM Virtual machine will start and you will be asked to select a virtual optical drive.

Click on the icon to the right of the box. This will take you to the Optical disk selector.

Click on the Add button and navigate to the lubunto .iso file.

Click on the file and select Open. Make sure that the lubuntu .iso file is highlighted in the Optical Disk Selector and click on Choose.

You will now be on a page called Select start-up disk and the lubuntu .iso file will have been selected. Click on the Start button.

The installation of Lubuntu on the virtual machine will begin. If English is pre-selected as it should be, press Enter and leave everything alone and the installation will proceed after a countdown.

You may be presented with a small Lubuntu Live desktop or you may have the option to install Lubuntu. Either way, select Install Lubuntu.. You may get the chance to do a minimal install with just a browser and some utilities. This may be the best choice if the Virtual machine is only going to be used to run AstroDMx Capture for Linux.

Now, just carefully follow the installation process, providing information when required. Do this carefully and slowly to make sure that you get the correct keyboard and location etc.

When you get to the Updates and other software page, make sure that Normal installation, Download updates while installing Lubuntu, and Install third party etc… are all checked and click on Continue.

On the Installation type page go with the default which is Erase disk and install Lubuntu. Click on Install Now.

A small window called Write changes to disks? Will appear. Click on Continue.

Depending on your earlier selection of language and keyboard, the next page called Where are you, should select the right place. If it does, click on Continue.

Then you will come to a page asking Who you are and requesting a password. Just enter something you will not forget and carry on. The installation of Lubuntu will proceed normally. Just wait until it is complete.


When you are told that the installation is complete, click on the Restart Now button.

The Virtual machine will reboot and it will ask you to remove the installation medium, then press ENTER. Just press ENTER.

The virtual Lubuntu machine will boot up and ask for your password. Enter it and press Enter.

You will have a very small Lubuntu screen. Click on the Start Button (left of the panel (the taskbar is called the panel in Linux)). Select Preferences and Monitor settings. You will see that the resolution has been set to 800 x 600. Use the drop-down menu to select the resolution that is right for your monitor. Look carefully through the options to make your selection. Then click on Apply and Save.
Then at the top of the screen, click on View and select Scaled mode. The menu at the top will disappear, but the panel at the bottom of the Lubuntu screen will be visible.

Then Click on the Right CRTL key and C this may bring up a small window. Select don’t show again. You will now be able to switch between scaled view and the view with the top menu, just by typing the Right-CTRL key and C together.

The text in yellow is optional.

I always find that it is helpful to place the panel at the left hand side of the screen. This gives more depth to the screen for the AstroDMx Capture or any other software. It may also help to make the Windows taskbar auto-hide.

Moving the panel to the left of the screen

The panel is initially at the bottom of the screen

Right click on the panel and select Panel Settings. This brings up a window with four tabs. The first two Geometry and Appearance are important at this stage. The window opens in the Geometry tab.
Set the Position to Left, Margin to 1, Width to 40 and Icon size to 30. These last two numbers can vary with the size of your screen.



The panel will now be at the left hand side, but won't look very good.
Now click on the Appearance tab and click on solid colour with opacity. Click on the chequered box to the right and adjust the Opacity to about 68.



Then click on OK and Close.
The panel will now be in a more useful position.

Alternatively, the Advanced tab could be opened and the panel can be made to auto-hide by checking the box by Minimise panel when not in use. This can be done wherever the panel is situated and may be all you want to do. If my screen is large enough, I prefer to be able to see both the Windows taskbar and the Linux panel all the time.

It is possible that the Software Updater may present itself on the panel. This might be a good time to make sure that the Lubuntu installation is up to date. Click on the Software Updater, you will be asked for your password and the installation of the updates will take quite a few minutes.

Installing AstroDMx Capture for Linux.

Click on the Browser button on the bottom panel of the Lubuntu screen. This will launch Firefox.

Type into the URL bar, https://www.linux-astro-imaging.uk

Navigate to Linux Downloads

Click on AstroDMx Capture -Download Current Version

Scroll down to the blue box Linux 64-Bit

Click on astrodmx_capture version 0.68.1 (x86-64) – Debian Installer... (or whatever the current version is of the Debian installer)

Save the file. Firefox will save it to the downloads folder.

Close the browser.

Navigate to the Downloads folder using the File manager on the bottom panel. Inside the folder will be the astrodmx capture install .deb file.

Right click on the file and select Gdebi Package Installer.

The package installer will launch and you will be able to see information about AstroDMx Capture for Linux. Just click on the Install Package button.

You will be asked for your password. Enter it and press Enter or click on OK.

The installation will begin. When it has completed, click on Close and also close the window.
To save space on your virtual machine, you can now delete the installer package from Downloads and empty the Rubbish Bin if you so wish.

Logout by clicking on the Start button and selecting Logout and then Shutdown, or use the power button on the panel.

Restart the virtual machine, enter your password and log back in. (It should be noted that shutting down and restarting is not strictly required, it should be enough simply to logout and then log back in, however, sometimes this can produce unpredictable results).

Click on the Start button and you will find that a new category called AstroImaging has been created, and within it AstroDMx Capture has been installed.


Creating a Shared folder

We now need to create a shared folder between the Windows machine and the Linux virtual machine so that results can be sent to it rather than filling up the limited space in the Virtual machine. Also, the results in the Shared Folder will be available for your Windows stacking software etc. to work on.

I created a new folder called SHARE in the Videos folder of the Win10 machine. In Properties of the folder I set it to Share for Everyone.

In the virtual machine press Right-CTRL and C if necessary, to make the File; Machine; View; Input; Devices and Help visible at the top of the window.

Select Devices and click on Insert Guest Additions CD image.

This mounts VBox_GAs_6.1.2 on the desktop (and in the file manager) and this can be opened in the file manager. The path to this can be seen at the top of the file manager folder. It will be something like /media/username/VBox_GAs_6.1.2 where username is whatever user name you created.

From the Start button launch a terminal and type into it cd /media/username/ VBox_GAs_6.1.2

Then type sudo apt install gcc make perl

You will need to type your password if asked.

When you are asked Do you want to continue [Y/n] enter y

After it has finished this task; then type sudo ./VBoxLinuxAdditions.run
It will take some time to complete these tasks.

VBox_GAs_6.1.2 can be unmounted from the desktop from within the File manager when it is no longer required.

Creating a shared folder that can be accessed by the Linux virtual machine and the Windows 10 host machine


Create a shared folder called SHARE in the Linux home directory. It will have the path /home/username/SHARE.

Press Right-CTRL and C if necessary to make the File; Machine; View; Input; Devices and Help visible at the top of the window.

The click on Machine and Settings.

Click on Shared Folders and then highlight Machine Folders. Then click on the icon like a folder with a + sign to add a shared folder.

Click on Folder Path: and navigate to the folder created earlier (In this case SHARE in the Win10 machine Videos folder).

Click on the SHARE folder and then Select Folder.

Click on Auto-mount

Then in Mount point: enter the path to the shared folder as noted above: /home/username/SHARE
Click on Make Permanent and then OK.

From the Linux Start button, select System Tools and then Users and Groups
Click on Manage Groups

A window containing Groups available on the system will appear.

Search for vboxsf in the list, double click on it and another window with Group vboxsf Properties will appear.

Check the box by the username and click OK
You will need to enter your password.
Enter it then click on Close and then Close again.

From the Linux Start button select Logout and Shutdown or use the power icon on the panel.

Start the virtual machine and it will have a shared folder, possibly mounted on the desktop as well as being in the home folder.
It should be noted that anything put into the shared folder can only be deleted from the Windows side.

AstroDMx Capture for Linux can be configured to write its data to the shared folder.
Launch AstroDMx Capture

Click on Options and Setup Output Format.
The Save Folder is shown and can be changed. Click on Change and navigate to the shared folder in the Linux file system. Click on Open and the save folder will be changed.

Close the virtual machine from the Start button, Logout and Shutdown or the power icon on the panel.

Enabling the USB controllers in the Virtual machine

Launch the Oracle VM VirtualBox Manager.
When the virtual machine is NOT running; 
Click on Settings, USB and make sure that the Enable USB Controller is checked and that USB 3.0 (xHCI) Controller is selected, otherwise, some cameras will not be seen.



Before a USB camera can be used in the virtual machine, the USB camera has to be passed through to the virtual machine.

With the virtual machine running, press Right-CTRL and C if necessary, to make the File; Machine; View; Input; Devices and Help visible at the top of the window.

Plug in your camera to the appropriate USB port.

Click on Devices, USB and select your camera from the list.


The CKCamera shown above is in fact the SV305 camera and will show as such in AstroDMx Capture for Linux.

That camera will then be available for AstroDMx Capture to use.

It should be noted that UVC cameras appear in the list but will not work. They are also listed as webcams and if selected there, will be usable, but will be restricted and only offer MJPEG. Moreover, they may cause instability. Don't use them with this system.

Finally, it should be noted that for any given camera to be usable in a VM VirtualBox virtual Linux machine, that camera's Windows driver MUST first of all be installed on the Windows 10 host machine.

The SVBONY SV305 attached to an 110mm f/4.5 ED refractor imaging a structure across the valley.
AstroDMx Capture for Linux running in a Lubuntu Virtual machine on a Windows 10 computer


If the instructions are followed as presented here, it is possible to run AstroDMx Capture for Linux in a Windows 10 computer and to capture data that can be processed in the Windows Host machine.

Naturally, the performance of the Virtual machine and the software running in it, will depend on the specifications of the Windows 10 machine, particularly the type of hard drive, the CPU and the available RAM. The more powerful the computer, the better the performance.

We shall, when the opportunity arises, post results from the SV305 (and other cameras) captured by AstroDMx Capture for Linux, running in the Virtual Lubuntu machine, on a Windows 10 computer.

Monday, 10 February 2020

AstroDMx Capture sneak preview of progress

Nicola has been working when she has time, for almost a year on AstroDMx Capture for macOS and we have made several posts showing the results. This version has not yet been released although it is about ready. Recently, Nicola has been working with low priority, on implementing AstroDMx Capture for Windows, so that the software will be eventually available on all four major platforms: Linux, Raspberry Pi, macOS and Windows.


To followers of this blog, it may seem that all of this is taking a long time. However, it is important to realise a number of points:

  1. AstroDMx Capture for Linux has grown into a Magnum Opus. The Source code has grown to 44,771 lines of code (not including external dependencies and SDKs), with an additional 10,332 lines of internal documentation (comments) to facilitate maintenance of the code. Many of the ‘lines’ of code or documentation in fact, take up two or more actual lines. To put this in familiar terms; a book such as the 2006 Yearbook of Astronomy, edited by the late Sir Patrick Moore contains 39 lines per full page of text. This means that if AstroDMx Capture for Linux was to be printed in a book such as this, it would require three volumes of at least 471 pages per volume, to contain all of it (The Yearbook contained 331 pages). When projects reach this size, they require a very significant amount of time to maintain and develop.
  2. In order to justify the huge amount of time required to develop and maintain the software, Nicola has released it as 'Donation-ware'. Nicola prefers this model to one of purchasing a license, and allows a user to contribute according to their means and inclination towards the project. Her prime objective is that the user will enjoy the experience of using the advanced software she has written.
Nicola likens the donation model to buying her a couple of cups of coffee, which most people would be prepared to do in a one-to-one encounter with the author of the software. Development of AstroDMx Capture is not her day job. She has been an IT & systems specialist and programmer for more than 25 years and her current publishing work takes up most of her time. It takes considerable motivation to start work on AstroDMx Capture after a day's work.

However, the purpose of this post is to say that Nicola has achieved first light for the Windows version of AstroDMx Capture. It is not complete and there is a way to go yet, but Nicola is hoping that in the near future she will be able to release both the macOS and later, the Windows version of AstroDMx Capture.

First light image from AstroDMx Capture for Windows

Hopefully, the macOS version of AstroDMx Capture will be available soon, with the Windows version coming later. Watch this space.

Thursday, 6 February 2020

Two pane Lunar mosaic with version 0.68.1 AstroDMx Capture for Linux, an SVBONY SV205 camera and a Skymax 127 Maksutov.

The 8Mp SV205 camera, fitted with an SVBONY UV/IR cut filter was placed at the Cassegrain focus of the Maksutov, which was mounted on a Celestron AVX, EQ GOTO mount. AstroDMx Capture for Linux was used to capture 2 overlapping, 1500-frame SER files of the Plato/Sinus Iridum region of the 85% waxing Moon. Using mapping to grey scale, and real-time flat-field correction to remove pixel vignetting suffered by the SV205.

The 8Mp SV205 can show some frame lag which can hamper focusing. A feature that Nicola has incorporated into AstroDMx Capture to reduce the frame lag for focusing was used to achieve an easier focus and was then turned off for the capturing of data.

Screenshot of AstroDMx Capture for Linux capturing a SER file


The best 70% of the SER file frames were stacked in Autostakkert 3 and the resulting images were wavelet processed in Registax 5.1 and stitched in Microsoft ICE. The resulting image was post processed in The Gimp and ACDSee.

The Plato/Sinus Iridum region of the Moon


A closer view

The USB3.0 SV205 is a challenging camera to use, but it is capable of capturing very pleasing lunar images.

Tuesday, 4 February 2020

Lunar mosaic with version 0.68.1 AstroDMx Capture for Linux, an SVBONY SV305 camera and a Skymax 127 Maksutov.

The SV305, fitted with an SVBONY UV/IR cut filter was placed at the Cassegrain focus of the Maksutov, which was mounted on a Celestron AVX, EQ GOTO mount. A 5m, active USB extension cable was used so that the camera could be controlled from indoors. AstroDMx Capture for Linux was used to capture 11 overlapping, 1500-frame SER files of the terminator region of the 67% waxing Moon, using the 8-bit mono function of the camera that Nicola has implemented in AstroDMx Capture.

Screenshot of AstroDMx Capture for Linux running on a Fedora Linux laptop, collecting a 1500-frame SER file of one of the panes of the mosaic.


The best 70% of the frames in the SER files were stacked in Autostackert!3. The resulting images were wavelet processed in Registax 5.1, stitched in Microsoft ICE and post processed in ACDSee and the Gimp.

11 pane lunar mosaic

Larger view

Detailed full-size sections






The SV305 is a very good, low cost camera, capable of solar system and deep sky imaging, by an up and coming company.

A future experiment will involve the use of a mount hand-controller extension lead to allow the control of the mount as well as the camera from indoors.

Saturday, 1 February 2020

Release of Version 0.68.1 of AstroDMx Capture for Linux

Nicola has released version 0.68.1 of AstroDMx Capture for Linux 64 bit.




Changelog (version 0.68.1)

Added Adaptive Homogeneity-Directed (AHD) Debayering Algorithm. AHD is a very high quality debayering algorithm which is computationally heavy and so it should only be used for long exposures.

Exposure values can now be typed for improved selection precision. Exposure values are entered by typing a number followed by ms for milliseconds, s for seconds and m for minutes. The following shows a few examples:

150ms = 150 milliseconds.
5s = 5 seconds.
1m5s = 1 minute and 5 seconds.
75s = 1 minute and 15 seconds.
3000ms = 3 seconds.

The Exposure slider can, of course, still be used as normal, but the ability to type in exposure values make it easier to exactly and quickly reproduce exposures.

SVBony SV305 one touch white balance function has been added.

SVBony SV305 Map to Upper function. By default data comes off the SVBony SV305 camera in the lower part of 16-bit, this causes initially dark images which need to be stretched in order to see the detail. The 'Map to Upper' function shifts the data into the upper part of 16-bit which produces initially brighter images.

An 8-bit monochrome output format for the SVBONY SV305 has been added.

The installers for AstroDMx Capture now create a new menu category called "AstroImaging" and the software launchers are placed into this category. Depending upon your specific distribution, the software categories might not be visible.

Bug fixes

The 32 bit Raspberry Pi version will follow shortly.