Author Topic: HaRGBCombination Script  (Read 99193 times)

Offline Ioannis Ioannou

  • PixInsight Addict
  • ***
  • Posts: 202
Re: HaRGBCombination Script
« Reply #45 on: 2012 May 02 06:20:11 »
OK, since you liked the new layout, I took some time from my lunch break and found the issue with STF on Ha,  cross this bug out.

BTW, how about 4 buttons:  "Show Ha Emission", "Show Ha Continuum", "Show RGB", "Show HaRGB" ? When I was using PixelMath for the same process, the image that was giving me better indication that I had the parameters correct was the C(ontinuum) one, not the Ha emission, what do you think?

And if yes, HaContinuum = HaOriginal - HaEmission will do the trick? correct me if I'm wrong please.

Clear Skies
John (Ioannis)

FSQ106N+Robofocus+QHY-22+SX USB wheel+Baader filters
SX OAG+DSI Pro guiding a NEQ6
PI for the rest :)

Offline Herbert_W

  • PixInsight Addict
  • ***
  • Posts: 204
    • Skypixels - Astrophotography by Herbert Walter
Re: HaRGBCombination Script
« Reply #46 on: 2012 May 02 06:41:33 »
Hi,
Thanks for the script - it is great and will be very helpful.
What is the difference: ha emission and continuum?

Best regards.
Herbert, Austria

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: HaRGBCombination Script
« Reply #47 on: 2012 May 02 12:06:20 »
Hi

Excellent I like it as it is with the emiision showing :-*

Many Thanks

Harry
Harry Page

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: HaRGBCombination Script
« Reply #48 on: 2012 May 02 12:27:16 »
Hi

Just thinking , some like to add a bit to the blue , how about a slider to add some to the blue channel  :-*

Harry
Harry Page

Offline troypiggo

  • PixInsight Addict
  • ***
  • Posts: 258
Re: HaRGBCombination Script
« Reply #49 on: 2012 May 02 13:44:18 »
OK, since you liked the new layout, I took some time from my lunch break and found the issue with STF on Ha,  cross this bug out.

BTW, how about 4 buttons:  "Show Ha Emission", "Show Ha Continuum", "Show RGB", "Show HaRGB" ? When I was using PixelMath for the same process, the image that was giving me better indication that I had the parameters correct was the C(ontinuum) one, not the Ha emission, what do you think?

And if yes, HaContinuum = HaOriginal - HaEmission will do the trick? correct me if I'm wrong please.

Excellent work.  If it's simple to add the C button, by all means.  I thought that Vicent's method had the Continuum described as R/Ha?

Offline troypiggo

  • PixInsight Addict
  • ***
  • Posts: 258
Re: HaRGBCombination Script
« Reply #50 on: 2012 May 02 13:47:01 »
Hi

Just thinking , some like to add a bit to the blue , how about a slider to add some to the blue channel  :-*

Harry

I raised this in a different way earlier in this thread.  The possibility of extending the capabilities to add other channels and even other filters.  Ioannis indicated that his preference was to get the original Ha into R script working well, then entertain the possibility of extending it.

Offline Ioannis Ioannou

  • PixInsight Addict
  • ***
  • Posts: 202
Re: HaRGBCombination Script
« Reply #51 on: 2012 May 03 04:04:41 »
OK guys, I think it is stable enough to call it a "subversion" V1.3. Put both the script and the icon in the usual directory, regenerate the script list (Feature Scripts -> Regenerate). The only bug that is not yet fixed is the one that will show the temporary Views in the listboxes after you have already pressed one of the buttons (show an image, Apply etc). The first time it is ok.

And  lets catch it from here:

The C image should not be difficult , it is matter of just copy-paste-change-test , ie some spare time.
BTW  I have to check the maths Silvercup used, I though it was subtraction, not division  :-[ .
The slider to the other channels also should not be difficult (from the programming point of view) as soon as :

  • I know the maths (which I don't)
  • I have a more clear idea what you are looking for. Just on blue? Or maybe in any channel with what combination? Ideas are more than welcomed, I'm out of them right now
  • I have some spare time - I can not spare all of my lounch breaks, a man needs some food  ;D

BTW, as for adding Ha to blue, I guess you know Vicent's objections about (Ha is not always the same with Hb, Hb may not even exists in the specific target, or it may have different structure etc) ?

Clear Skies
John (Ioannis)

FSQ106N+Robofocus+QHY-22+SX USB wheel+Baader filters
SX OAG+DSI Pro guiding a NEQ6
PI for the rest :)

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: HaRGBCombination Script
« Reply #52 on: 2012 May 22 00:47:58 »
I had a quick play with this script, adding H alpha to M83.  It really gives the image a lift.  Thanks for this.
Geoff
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: HaRGBCombination Script
« Reply #53 on: 2012 May 22 01:57:41 »
Hi,
Thanks for the script - it is great and will be very helpful.
What is the difference: ha emission and continuum?

Best regards.
Herbert, Austria
Some objects only emit light at very specific wavelengths (H alpha, OIII, etc). This is emission radiation. Others such as stars emit light at all wavelengths (including H alpha). This is continuum radiation.  So the Ha light from stars is just part of a continuum. So is any Ha light from reflection nebulae.
Geoff
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline Herbert_W

  • PixInsight Addict
  • ***
  • Posts: 204
    • Skypixels - Astrophotography by Herbert Walter
Re: HaRGBCombination Script
« Reply #54 on: 2012 May 22 02:43:57 »
Hi George!

Thank you for the answer!

Best regards
Herbert

Offline neuling

  • Newcomer
  • Posts: 11
Re: HaRGBCombination Script
« Reply #55 on: 2012 June 02 03:31:44 »
Hello,

I have a problem with the HaRGB script. I don't really know how to add/install it on Pixinsight.
I know this  are really the basics but still I'm new. :)

Thanks for help.

Offline Jack Harvey

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 975
    • PegasusAstronomy.com & Starshadows.com
Re: HaRGBCombination Script
« Reply #56 on: 2012 June 02 13:38:22 »
I keep getting this error with my Mac 64 ver
Processing script file: /Users/coyyote/Desktop/HaRGBCombinationV1/HaRGBCombination.js
*** Error [000]: /Users/coyyote/Desktop/HaRGBCombinationV1/HaRGBCombination.js, line 90: Error: ImageWindow.ImageWindow(): invalid dimension(s)
Jack Harvey, PTeam Member
Team Leader, SSRO/PROMPT Imaging Team, CTIO

Offline Fco. Bosch

  • Member
  • *
  • Posts: 66
Re: HaRGBCombination Script
« Reply #57 on: 2012 June 02 13:49:28 »
Hello,

I have a problem with the HaRGB script. I don't really know how to add/install it on Pixinsight.
I know this  are really the basics but still I'm new. :)

Thanks for help.

1) download the script and save it to folder Pixinsight/scr/scripts
2) run PI
3) select menu/script/feature script
4) press add button and select "scr"; and you will find the new sript ...

Enjoy!


Fco. Bosch

Offline neuling

  • Newcomer
  • Posts: 11
Re: HaRGBCombination Script
« Reply #58 on: 2012 June 02 16:11:45 »
Thanks for help now it works

Offline Ioannis Ioannou

  • PixInsight Addict
  • ***
  • Posts: 202
Re: HaRGBCombination Script
« Reply #59 on: 2012 July 27 02:26:14 »
Sorry Jack for the delayed answer, other obligations kept me away from the forum.

You are getting this error because you do not have one of your windows (eg Ha or RGB) open when you call the script.
Strange, I thought I had a dialog box warning for this, early enough. I have to recheck the code.

BTW did anyone used it so far ? How about more ideas (and the maths behind them please) to include ?
Clear Skies
John (Ioannis)

FSQ106N+Robofocus+QHY-22+SX USB wheel+Baader filters
SX OAG+DSI Pro guiding a NEQ6
PI for the rest :)