Author Topic: Trouble with 3d Doughnut  (Read 300 times)

Offline Lightpath

  • Newcomer
  • Posts: 25
    • View Profile
Re: Trouble with 3d Doughnut
« Reply #15 on: 2017 April 20 16:20:19 »
Screen shots of your processes, or steps maybe, would give me a great starting point, however I'm still looking into the processes you said you used.  I may have more questions as I go.  :)

Thanks very much for showing what's possible-

Mark.

Offline Lightpath

  • Newcomer
  • Posts: 25
    • View Profile
Re: Trouble with 3d Doughnut
« Reply #16 on: 2017 April 21 17:28:47 »
Just to show that you can sort of repair this type of problem without taking the final image to another piece of software here is what I was able to do quickly in PI. I used PixelMath, TGVInpaint, Rangemask and Curves. A little more care on my part and the repair could be better.


Mike

Do you have a hint as to how you created the initial mask with pixel math?

Thanks-

Mark.

Offline msmythers

  • PixInsight Guru
  • ****
  • Posts: 675
    • View Profile
    • My Astrobin page
Re: Trouble with 3d Doughnut
« Reply #17 on: 2017 April 21 18:42:08 »
Mark

Here is the PixelMath end of this. I did not save a project of the previous data so I am having to do this all over again. Someone good with PixelMath would do what I did much more efficiently as I am terrible with PixelMath.

Anyway the sequence is  first make a black image the same size as the original. This is the base for your circle mask.
Next clone your black image.
Next create the white circle using the inellipse function in PixelMath. If you open the expressions editor and go to the inellipse function you will see the parameter format for this function.
Last apply the circle mask to the black image clone and with PixelMath use the original image and copy to the black image.


The TGVInpaint part requires modifying PI with a new, not released TGV module. You can find out more about it here. https://pixinsight.com/forum/index.php?topic=8970.0
Here is a link showing one of it's uses. https://drive.google.com/file/d/0B13r3kYqTf8NcXQzVnJuVmlUeGs/view?usp=sharing

Now the RangeSelect mask take some real work to get things just right for this image. This is not a plug in some numbers and your there. I actually use the RangeSelect tool on the masks created by the RangeSelect tool. I also had to use Curves on the masks created by the RangeSelect tool.
 
 

Mike

Offline Lightpath

  • Newcomer
  • Posts: 25
    • View Profile
Re: Trouble with 3d Doughnut
« Reply #18 on: 2017 April 21 21:17:55 »
Thanks Mike, there's certainly a lot to learn here.  I'll start tinkering!