Cosmic Clarity - Sharpening and Denoise interface with Siril

Hi, I recently created standalone de-convolution and denoising neural net based software similar to some other ones that happen to be strictly locked away in their integration with PixInsight. I also have updated mine to handle linear data and it can accept 32bit floating point tiff files. I have had a huge request from the community if I can integrate this with Siril. I have wrote numerous scripts in PixInsight using their javascript environment but Siril seems pretty limited in how I can script my way to a similar solution. I am open to working with anyone to help the tool get interfaced or integrated into Siril. I have Windows, Mac, and Linux versions of my tool all available for free.

Clear Skies everyone and thanks for any help!
Frank (Seti Astro)

Hello.

Your message is funny because it’s right on time. In fact, we’re currently developing a python API to enable this kind of interaction.
The API is really at the pre-alpha stage, but you could try something if you like. Of course, you’ll need the Siril version under development, and even more, a version not merged yet: Draft: Siril python interface (!755) · Merge requests · FA / Siril · GitLab.

1 Like

Ok I will take a look! My program is all built on python as well, so not sure if a more direct addition or interface is easier than interfacing with it as an external executable. It was just packaged up with pyinstaller so the user wouldnt have to deal with getting/learning python to run it. The weight files are seperate .pth files so they can be updated seperately too to newer models when trained.

So for the API it looks like the code interfaces with Siril to perform some operation. I want to go the other way around. I want Siril to export the image to Cosmic Clarity, let it process then return the image back into Siril for continued processing. You would use it in your workflow like. Gradient Correction → Cosmic Clarity Sharpen → Cosmic Clarity Denoise → Star Removal → Stretch to non-linear.

But it would be possible. This is also the purpose of this API.

I am willing to try it out for sure. Navigating to the gitlab page is fine, but I am unfamiliar with how to get the testing version of siril.

Hello.
There are different ways to get it. The best, for you, is to compile the sources.
Our documentation details everything you need, but do not hesitate to ask.

But if you don’t want to compile, you can download artifacts. However, for Windows, the built artifact is built on Linux and is not exactly the same as the exe we publish.

Hey thanks! compiling it on my Linux virtual machine right now. Once that is complete what do I need to do to get the new APT to try it out?

You need to compile the branch python

Hello @SetiAstro .

I don’t know if you saw, but branch has changed to change the approach (python3). It is still at early dev stage, but you should be able to play with it, at least on Linux !!

1 Like

ok thanks! i haven’t had a chance to get the branch working for me yet. I’m porting all my PI scripts into python right now too. So the future looks bright to get this over to Siril for everyone eventually :slight_smile:

3 Likes