Continuum Subtraction Now Fully Automated! My New Script is the Easiest Button of All!

Sdílet
Vložit
  • čas přidán 19. 05. 2024
  • PixInsight URL for the repository (be sure to click the link and copy the URL from the address bar as youtube truncates the text): raw.githubusercontent.com/set...
    My Website for more information on all my scripts and standalone downloads: www.setiastro.com/pjsr-scripts
    Now that we had a method of determining the background automatically it was suggested to me to fully automate the Continuum Subtraction process from a viewer! That sounded like the perfect challenge for me. The methods in here draw on pioneering work for continuum subtraction from Vincent Peris, Edoardo Radice, Charles Hagen, myself and others as I finally have all the tools to create this fully automatic process!! Step aside Jurgen's Toolbox, we now have a fully automated continuum subtraction tool. Load all your images and sit back and let it output non-linear pure signal emission images!
    Comments and suggestions welcome as we continue to improve all my scripts!
  • Věda a technologie

Komentáře • 77

  • @rtpman1953
    @rtpman1953 Před měsícem +2

    Great script. I hadn't tried continuum subtraction before due to all the steps but now I'd be crazy not to. Thanks.

  • @slither7152
    @slither7152 Před 21 hodinou

    the goat of scripts ngl

  • @addos999
    @addos999 Před měsícem +2

    some really outstanding work with these scripts dude, thank you very much for your work and for making them freely available! xoxo

  • @rickbria8420
    @rickbria8420 Před měsícem +1

    Perfect timing for an M 81 image I’m working on. I never would’ve tried this without your new script. Thanks!

  • @AstraPharmaq8
    @AstraPharmaq8 Před měsícem +2

    You are quickly becoming a mainstay in my workflow good Sir,
    Thank you for all your great work!

  • @davidswinnard7565
    @davidswinnard7565 Před měsícem +1

    Perfect timing. I was just working with my recent Whirlpool images and about to jump into the continuum subtraction portion. I popped up CZcams on my other monitor and the Easiest button was top of the list. Thanks for your hard work.

  • @astrofromhome
    @astrofromhome Před měsícem +2

    Amazing script Frank! Luckily I have the path to your scripts already in the repository that I always get the latest updates. Your scripts make things so easy even for advanced processors. Thanks for all your work and effort! /Martin

  • @starsips
    @starsips Před měsícem

    Excellent work! Very appreciative of your efforts and achievements

  • @JeffHorne
    @JeffHorne Před měsícem +1

    Thank you for this gift!

  • @carvrodrigo
    @carvrodrigo Před měsícem

    Bro, your scripts are blended in my process workflow pretty well, many thanks!!

  • @emuhead
    @emuhead Před měsícem

    Great work, it's so easy that I'll definitely use this. It always seemed like a more advanced topic that only few attempted & now you've made it so easy everyone can use it. 👏🏼

  • @stuparker776
    @stuparker776 Před měsícem +1

    Looks fantastic many thanks

  • @bobc3144L
    @bobc3144L Před měsícem +1

    It seems to work well. Thank you.

  • @seanmasten8187
    @seanmasten8187 Před měsícem +1

    Awesome script Frank!

  • @hank7055
    @hank7055 Před měsícem

    Perfect compliment to the other narrow band scripts! Thank You!

    • @setiv2
      @setiv2  Před měsícem

      Yes! I think we are getting a pretty decent little toolkit together here!

  • @MazzifLOL
    @MazzifLOL Před měsícem +2

    Great job!

  • @cmdrjedirogue5098
    @cmdrjedirogue5098 Před měsícem +1

    Thank you very much for this tool. I will give it a try on some data I already have.

  • @zaphus
    @zaphus Před měsícem

    This is fantastic, really looking forward to trying it. You are making a great set of tools that build on each other. Now I need to figure out how automate all of them together at the end of a NINA run, so there is a nice fresh image waiting for me when I wake up!

  • @jacquesjolivet5685
    @jacquesjolivet5685 Před měsícem +1

    Superb. Merci

  • @georgehatfield9473
    @georgehatfield9473 Před 13 hodinami

    I continue to be impressed with your new scripts, which make processing just a bit easier and at times more precise. I think I am probably a minority, but I typically add NB data to RGB early on when the images are still linear. I would really appreciate a tutorial that uses your continuum subtraction script and then adds nonlinear NB data to an RGB image. Thanks in advance.

    • @setiv2
      @setiv2  Před 12 hodinami

      That was actually one of my first tutorials I put out! Obviously I made a few scripts to help along the way but the workflow is the same czcams.com/video/L_P5Cr6B_ww/video.html

    • @georgehatfield9473
      @georgehatfield9473 Před 3 hodinami

      Thanks for the prompt reply. I did watch the video you cited. I have used that general method of adding Ha (Hagan method), but I prefer a simpler approach where the ha (after pixel math-based continuum subtraction) is added to the linear RGB using additional pixel math expressions. From then on, the processing is simply RGB, including spcc. The method has been cited by many, but I prefer the presentation of "Crazed Conceptions" on CZcams. Anyway, I ran your continuum subtraction script for ha and used the Crazed Conceptions pixel math expressions to add your processed nonlinear ha to the linear RGB. The only difference is the pixel math "B" constant, which is normally 2-4, is now 0.02. It seemed to work well. Maybe it is a fluke, but the result is better to my eye than what I got with the straight-crazed Conceptions method. I will post the image on Astrobin (Crescent Nebula, George Hatfield). Thanks again for the script!

  • @marklamb4707
    @marklamb4707 Před měsícem +1

    Thanks for your script and videos! My suggestion would be to add the option to have the output to be linear.

    • @setiv2
      @setiv2  Před měsícem

      I can add that. For now just hit undo twice. That will undo the final stretch

  • @AmatureAstronomer
    @AmatureAstronomer Před měsícem

    Neat.

  • @christopheguigot841
    @christopheguigot841 Před měsícem +1

    J’ai essayer tout à l’heure…efficace…!.

  • @TheMje1963
    @TheMje1963 Před měsícem

    Thanks, one thing i have a hard time with is adding those to my RGB images. Haven't found an easy tutorial on that yet without making my head spin. I'm all for easy.

    • @setiv2
      @setiv2  Před měsícem

      I do cover it a couple times in my galaxy image videos

    • @setiv2
      @setiv2  Před měsícem

      I always just screen them back in. Easy

  • @AstroIsland
    @AstroIsland Před měsícem

    Another fantastic script! Can you look into creating the “perfect” Luminance from an OSC image? I know a few of us beginners struggle with that after extracting the Luminance and attempting to stretch it just right to integrate back into the image.

    • @setiv2
      @setiv2  Před měsícem +2

      For stretching I have to recommend my Statistical Stretch Script :) What problem are you having exactly? With a OSC you can never get a true L just a synthetic one. In general you would get the image best you can, then extract L. Tweak the L for contrast, localhistogramequalization, etc. At the same time run convolution on the RGB of size 2 to 4. Then put the L back eithet using LRGB combo or more recently Adam Block put out a new video on L combination too with tge Image Blend script czcams.com/video/Q3V58wdVb1c/video.htmlsi=GcD1bP8lQ3ksjZn9

    • @AstroIsland
      @AstroIsland Před měsícem

      @@setiv2 thank you so much for replying. From what I’ve seen in a few videos for the synthetic Lum they extract it from the OSC then “overstretch” it. From there, in addition to several tweaks they then reapply into the image. But I’ll take a look at Adam Block’s new video and give it a try.

  • @precisionastro-higgsfield
    @precisionastro-higgsfield Před měsícem

    Great work! It would be nice is you could extend this to add the continumium signal(s) into L with the correct scaling, should one wish to LRGB!

    • @setiv2
      @setiv2  Před měsícem

      Really not needed. The amount of continuum signal would probably just introduce extra noise into your L image. The continuum signal in your L image is literally orders of magnitude stronger.

    • @precisionastro-higgsfield
      @precisionastro-higgsfield Před měsícem

      @@setiv2 I think you miss understood. If you have a detailed L signal, say using Lucky imaging, and wish to apply it to RGB data, and want to add in say Ha and Oiii, the Ha and Oii signal will need to be added into the L signal if you wish to do LRGB combination. I appreciate what you say about the noise, but there is a way to deal with that problem if you screen in the nb data.

  • @joebiscoeiv747
    @joebiscoeiv747 Před měsícem +1

    Where did you get the methodology for the continuum subtraction? It looks like the same methodology released by Charles Hagen for Advanced Narrowband Combination?

    • @setiv2
      @setiv2  Před měsícem +2

      Yes the core of the subtraction follows roughly this: www.nightphotons.com/guides/advanced-narrowband-combination but there is some modified scaling factors and also utilizes gradient descent and ascent for setting backgrounds and whitepoints as well as my statistical stretch methodology. We needed all of these tools together to finally automate the entire process!

    • @joebiscoeiv747
      @joebiscoeiv747 Před měsícem

      Understood, I think the tool shows some great work on your part! I love innovation. IMHO it would be nice to credit those who laid the ground work for it. I understand you don’t have to, but when you don’t it seems worse than if you did. Just my two cents. 😊

    • @setiv2
      @setiv2  Před měsícem +2

      He does have one of the more recent posts describing that method. I have been doing this method since last summer and also draws on the artcle by Vincent Peris and from a 2015 artcle by Edoardo Radice. You are correct that I can do a better job on highlighting where I pick up certain tips and tricks. This whole hobby is built on tips from others.

    • @setiv2
      @setiv2  Před měsícem +2

      I have added acknowledgement to the pioneering work of those other individuals in the video description.

    • @joebiscoeiv747
      @joebiscoeiv747 Před měsícem +1

      It’s great to see. I have to say I wasn’t expecting it. But I’m glad to see it.
      I’ve read Vincent’s article, however I am unaware Eduardo’s article. I’ll have to give that a look. Great work!

  • @shubinternet
    @shubinternet Před měsícem

    So, just to be sure, a Continuum Subtraction is only appropriate for when you have an RGB or R+G images to be subtracted from Ha, OIII, etc… type narrowband sources? And then what do you do with these narrowband images once you’ve removed the RGB or R+G images?

    • @setiv2
      @setiv2  Před měsícem

      You remove the continuum signal from your narrowband images. This creates pure signal images that you can than incorporate into your RGB image. I have a playlist for incorporating narrowband data into your RGB images (this is how you get thos Ha+RGB images)
      czcams.com/play/PLozCye895PZBNikZUdQwuyexU4EXCW8F4.html&si=AAFH8shfD469GyXb

  • @SailDoc51
    @SailDoc51 Před měsícem +1

    Any tricks to adding the script? I have tried to add it to the repository several times and gotten the message that the download failed. I would love to add it to my toolbox. Sounds like wonderful stuff. I'm on Window 11 if that makes any difference.

    • @setiv2
      @setiv2  Před měsícem +1

      CZcams truncates the URL, you need to click it and copy tge URL from your address bar.
      raw.githubusercontent.com/setiastro/pixinsight-updates/main/
      If you run into a signing or parsing error after adding that URL then you need to update your PixInsight to the latest build (build 1605 came out in March). You can get that from the PixInsight Download page.
      Thanks for reaching out
      Frank

  • @nikaxstrophotography
    @nikaxstrophotography Před měsícem

    Can you do a full work through using this to the end? ie the whole image start to finish?

    • @setiv2
      @setiv2  Před měsícem

      I have a couple complete processing videos, just when you get to the point in the video of me manually doing continuum subtraction pretend i did it with the script instead
      czcams.com/video/mbdoC1RjPXQ/video.htmlsi=ze2ata6jh0rfPcwG
      czcams.com/video/L_P5Cr6B_ww/video.htmlsi=chk_OKoYkzNNw-JS
      And a playlist: czcams.com/play/PLozCye895PZBNikZUdQwuyexU4EXCW8F4.html&si=m6Np1JOPd2STD2su

  • @paulwilson8367
    @paulwilson8367 Před 20 dny

    This looks great, I did see my images a bit degraded using the earlier method. But this new one didn't work for me. My Ha data came from a mono camera and the image was rotated from the RGB. I'm guessing this can only work inside of the overlap between the 2 images, whereas on the old way, it worked after I darkened the Ha background.
    My 2 images were aligned, but my error is "incompatible source image dimensions". Oh well.

    • @setiv2
      @setiv2  Před 20 dny +1

      The two images need to be the same size and star aligned

    • @paulwilson8367
      @paulwilson8367 Před 20 dny

      @@setiv2 thanks. So only the overlapping areas of the two images then

    • @setiv2
      @setiv2  Před 20 dny

      @@paulwilson8367 yes. You cant do continuum subtraction without two images.

    • @paulwilson8367
      @paulwilson8367 Před 20 dny

      @@setiv2 thanks, worked when cropped after alignment. Nice!

  • @edwardnash7382
    @edwardnash7382 Před 24 dny

    I am doing M51, when I run the script I am using my Ha channel and Red channel, when it is done it says Gray at top and it does not combine well with the RGB, it is also black and white like yours. I notice yours stays RGB in the header. I am using V1.3.3. What am I missing?

    • @setiv2
      @setiv2  Před 24 dny

      It should be converting it to grayscale. My video was before I corrected that. The best way to add the Ha to your RGB image is using toolbox script by Jurgen Combine NB to RGB. Or if you are confortable use pixel math to screen thr ha continuum subtracted image to the red channel of the RGB image. Just make sure your RGB image is non linear and ready to add thr Ha

    • @edwardnash7382
      @edwardnash7382 Před 24 dny

      @@setiv2 Thank you! That did the trick! Love the scripts!

  • @regp5
    @regp5 Před měsícem +1

    Curious, is blue left out?

    • @setiv2
      @setiv2  Před měsícem +1

      You dont need blue for the continuum subtraction. There are no amateur NB filters up in the blue part of the spectrum. Green provides a good continuum for OIII subtraction.

    • @regp5
      @regp5 Před měsícem

      Ah, OK. I had been subtracting my Oiii against blue and green. Good to know.

  • @KakuSarma
    @KakuSarma Před měsícem

    Thanks for your beautiful videos which are very useful. But the repository for this Continuum Subtraction does not work despite my PixInsight build is the latest one. It says it is unable to download the repository information - Network error: Response code: 400. Can you please help?

    • @setiv2
      @setiv2  Před měsícem

      You have build 1605? If you do, Be sure to go to my website and make sure you copy the full URL to add to the repository. There are also zip files of all my scripts there.

    • @setiv2
      @setiv2  Před měsícem

      www.setiastro.com/pjsr-scripts. Then right at the top is the full URL

    • @KakuSarma
      @KakuSarma Před měsícem

      @@setiv2 Thank you so much. I copied the URL from your website and this has worked. Earlier I copied the same that has been provided in your description box.

    • @setiv2
      @setiv2  Před měsícem

      CZcams truncates, you have to click that link and copy thefull url then from the address bar. Glad you got it working though!

    • @josephluciani5531
      @josephluciani5531 Před měsícem

      It’s unbelievable how you keep churning out these scripts! Who knows what you’ll come up with for next year’s galaxy season. Thank you Frank.

  • @GregMcCall
    @GregMcCall Před měsícem

    Is continuum another name for background?

    • @setiv2
      @setiv2  Před měsícem

      No, continuum refers to broadband emission, ie your broadband filters. Stars, reflection nebula, all that is continuum emission. Think of the spectrum of our sun. That is in opposition to narrowband emission from emission line objects. That is a specific wavelength given off during electron orbital transitions. Ha, OIII, SII narrowband filters look for those emissions.

    • @setiv2
      @setiv2  Před měsícem

      You want to do this to isolate the pure emission signal in order to add that back into your continuum RGB image. My video on processing Andromeda shows it czcams.com/video/L_P5Cr6B_ww/video.htmlsi=_DEvSFYSFiIeV9GF

  • @dominickzaucha
    @dominickzaucha Před měsícem

    So why would i want to subtract my continuum? Sorry I am def a bigger I haven't even heard of this

    • @setiv2
      @setiv2  Před měsícem

      I have a series of galaxy processing that will help. Essentially, for example, your ha narrowband filter also lets in normal red light. If you just added that back into your image then you would have too much red. You want to isolate the pure emission signal to add it back into your rgb image.
      Here are a couple videos of galaxy processing I made that may help
      czcams.com/play/PLozCye895PZBNikZUdQwuyexU4EXCW8F4.html&si=bGVZyt8JLLD8Pjt3

  • @joseortega-betancourt7373
    @joseortega-betancourt7373 Před měsícem

    your repository does not work for me

    • @setiv2
      @setiv2  Před měsícem

      You need to update pixinsight to the latest build. (1605 came out in march) you can get it from the pixinsight download site. That will fix that issue.
      Hope that helps
      Frank

    • @mibsmatrix
      @mibsmatrix Před měsícem

      @@setiv2 The repository from the youtube video didn't work for me either. However, the repository from your website did. Apparently it is pointing to a sub directory "main" - which does the trick.

    • @setiv2
      @setiv2  Před měsícem

      Fixed. Be sure to click the link and copy the url from the address bar as youtube truncates the text

  • @Astrophotography_Channel
    @Astrophotography_Channel Před měsícem

    What am I doing wrong because I can't run it?
    ImageIdentifier: Processing view: NGC1097_Ha_GraXpert_dec
    id = HaNB
    5.454 ms
    Starting Gradient Descent Path Algorithm
    Progress: 2.00%
    Progress: 26.00%
    Progress: 50.00%
    Progress: 76.00%
    Progress: 100.00%
    Found background at (2070,2341) with brightness 0.06429014189243316
    Applying Background Neutralization to image: HaNB
    Using background preview coordinates: 2070, 2341, 2120, 2391
    Continuum Subtraction Script Dialog Closed.
    *** Error [000]: C:/Program Files/PixInsight/src/scripts/ContinuumSubtraction.js, line 745: Error: BackgroundNeutralization: Cannot execute instance on view: HaNB
    Reason: BackgroundNeutralization can only be executed on color images.

    • @setiv2
      @setiv2  Před měsícem

      Can you email me a screenshot of the dialog with what you had selected in your dropdowns? frank@setiastro.com

    • @setiv2
      @setiv2  Před měsícem

      You can also upload your two master images (your Ha and your Red/RGB) to my google drive and I can take a look at them directly. drive.google.com/drive/folders/1U9tnYBD8Vlj1DpE7GzDuAV5LWldeS91N?usp=drive_link