Author Topic: substitute a selection with average of sorrounding pixel  (Read 4756 times)

Offline lucchett

  • PixInsight Old Hand
  • ****
  • Posts: 449
hi, is this already possible in PI?
I am looking for a way to "cancel the stars", preserving the nebulae behind (or better givin continuity)

Thanks,
Andrea

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: substitute a selection with average of sorrounding pixel
« Reply #1 on: 2009 May 19 00:42:17 »
Hi Andrea,

Of course it is possible. There are several possibilities:

- Use the CloneStamp tool to carry out this task manually.
- Use wavelet transforms to isolate the stars.
- Use morphological transformations (median filters).

If what you're trying to remove are some localized features, such as dead rows or a few small defects, a relatively simple script can be very efficient. An example is this tutorial:

http://pixinsight.com/examples/deconvolution/Gemini-NGC5189/en.html

Use the left menu to jump to "Fixing Dead Pixel Rows with a JavaScript Script", and watch the mouse comparison. These scripts must be adapted to each particular case.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline lucchett

  • PixInsight Old Hand
  • ****
  • Posts: 449
Re: substitute a selection with average of sorrounding pixel
« Reply #2 on: 2009 May 27 13:47:50 »
Thanks Juan,
I'll try to look at the script and get back with some question.
Andrea