Author Topic: DarkStructureEnhance will not run with masked image RC7  (Read 4798 times)

Offline kwalker

  • PixInsight Enthusiast
  • **
  • Posts: 92
Trying to isolate structures using a mask over the background gives me an error that the image is already being processed.
always repeatable.
previous releases allowed masking.

Offline kwalker

  • PixInsight Enthusiast
  • **
  • Posts: 92
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #1 on: 2013 May 10 19:19:38 »
this is a screen shot of the error


Offline cclark

  • Newcomer
  • Posts: 1
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #2 on: 2013 May 10 21:52:43 »
I just tried the same action and was able to reproduce the error.  Running RC7 on OSX 10.7.5.

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #3 on: 2013 May 11 07:15:33 »
Hi, I believe that it is not a bug. In previous versions, DSE could have been done while a mask was applied, however that mask was not taken into consideration as the process builds its own.
Disable the mask and the script will work fine.
Anyhow a warning would sound better than an error. 
Saludos.
Alejandro.

Offline kwalker

  • PixInsight Enthusiast
  • **
  • Posts: 92
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #4 on: 2013 May 11 08:19:48 »
The script does work fine without the mask applied but its a blanket process .
it was nice to be able to selective enhance target areas.
At this time the script will not complete the task ,it just fails.
I like your suggestion of a warning ,but let the script complete.:)
maybe there's way to do this with PixelMath.

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #5 on: 2013 May 11 09:10:18 »
Hi,
You can see here that there is an explanation of how the script works.
Saludos. Alejandro.

Offline kwalker

  • PixInsight Enthusiast
  • **
  • Posts: 92
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #6 on: 2013 May 11 09:27:59 »
Thank you Alejandro.






Offline kwalker

  • PixInsight Enthusiast
  • **
  • Posts: 92
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #7 on: 2013 May 11 14:51:10 »
Just for reference I was using DSE masked to get into the dust lanes of some targets ,which worked for me.
I got spoiled.
I'm sure there is an alternative to my approach and I'll figure that out in PM or start a new thread if I need help.
DSE is quite functional in its present form for other tasks (as designed).

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #8 on: 2013 May 11 15:00:31 »
well, i suppose you could do the DSE on a clone of the image and then blend the DSE image into the original one while masking your image with the mask you wanted to use...

Offline kwalker

  • PixInsight Enthusiast
  • **
  • Posts: 92
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #9 on: 2013 May 11 15:03:18 »
I never thought of that :)

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #10 on: 2013 May 20 03:28:52 »
Quote
previous releases allowed masking.

Scripts cannot be masked, neither in PI 1.8 nor in previous versions. ATrousWaveletTransform is the right tool to isolate image structures.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline kwalker

  • PixInsight Enthusiast
  • **
  • Posts: 92
Re: DarkStructureEnhance will not run with masked image RC7
« Reply #11 on: 2013 May 20 13:01:34 »
thanks Juan.
I was trying to cheat :)
ATrousWaveletTransform works great ,I'll just have to be more patent.