Author Topic: PI Equivalent to Shadows/Highlights  (Read 3959 times)

Offline sreilly

  • PixInsight Padawan
  • ****
  • Posts: 791
    • Imaging at Dogwood Ridge Observatory
PI Equivalent to Shadows/Highlights
« on: 2013 February 09 10:39:14 »
Although I've regulated almost all my image processing to PI, by time I'm 99% done I get a little stuck. Typically I'll reduce my MaxIm DL acquired images that I've gotten from running my evening ACP plan using PI's image calibration routine using my sky flats and appropriate darks. I don't use bias frames as I don't need to scale the darks. I then star align these images and save. After acquiring sufficient data I'll start to combine the red, green, and blue calibrated images into master frames. I'm using either a mono STL-11000 or ST-10XME CCD Camera with filter wheels. I'll then combine the RGB images using Color Combine, use the DBE tool if necessary, and then color balance using the color calibration tool. I save each resulting image with an identifier so that I can tell what has been done such as M78-10_RGB_c which indicates the master RGB images are now a single RGB image which has been cropped. M78-10_RGB_c_dbe_cc, and so on. At this point I will generally use the Histogram tool to stretch the linear data and create a star mask. Save mask and then reopen the linear RGB image that I had before using HST. Apply mask, invert selection, hide mask, and look at using HDRW. Apply as needed, remove mask and save resulting image. Then run HST on that image, use Curves to boost contrast and color saturation if needed. I may run another HST if it improves the image and then another curves transformation as needed. When I've gotten pretty much what I want I usually save the image and bring into Photoshop for making my JPG files to upload to my website.

This may seem strange as I know PI can do this but PS gives me control over quality and size of the image files that I can readily see. Seeing how I paid for PS already I figure I'm not doing anything more than taking advantage of what I already have. I certainly wouldn't suggest anyone spend that kind of money just to do this. I have found that bringing the resulting jpg files back into PI will not display properly and don't know if it's a setting that I can change in PI or PS but if the image is saved as a TIFF it displays fine. Long story short, I usually find that the image I bring in from PI is a darker background than I care for so I will use Shadow/Highlights in PS to bring out the background. Usually a setting of anywhere from 10-35% makes a huge difference.

My question is for those that are familiar with both programs, is there an equivalent procedure that can be used in PI to get similar results? I really prefer to keep my post processing all in one program and PI is by far the absolute best program from image processing. If anyone needs the original fits image I can post it to my website for download. I really think I'm missing something here. You have to admit the image with the Shadows/Highlights shows much better hidden detail I think.
Steve
www.astral-imaging.com
AP1200
OGS 12.5" RC
Tak FSQ-106ED
ST10XME/CFW8/AO8
STL-11000M/FW8/AO-L
Pyxis 3" Rotator
Baader LRGBHa Filters
PixInsight/MaxIm/ACP/Registar/Mira AP/PS CS5

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: PI Equivalent to Shadows/Highlights
« Reply #1 on: 2013 February 09 11:50:27 »
Hi Steve!
LocalHistogrammEqualization for example  transforms your dark picture into the lower one of your posting.
The script "WriteJPEGWithSizeConstraint" allows selection of size (KB) and quality(%) and saves the image
in JPEG Format the way it is  - in the requested KB size.
I did the LHE 2x with your upper image using the the  parms ( Kernel 16, Contrast 2.0, Amount 35%), saved it,  and it looks now like the lower one
of your posting...
Also after reload in PI.
 
No need of software hopping if you use PI 100%.

Aloha
Gerald

Offline sreilly

  • PixInsight Padawan
  • ****
  • Posts: 791
    • Imaging at Dogwood Ridge Observatory
Re: PI Equivalent to Shadows/Highlights
« Reply #2 on: 2013 February 09 12:14:39 »
Thanks Gerald,

I'll give this some work out. I don't seem to have the script you mention. What version of PI are you using?

Thanks again.
Steve
www.astral-imaging.com
AP1200
OGS 12.5" RC
Tak FSQ-106ED
ST10XME/CFW8/AO8
STL-11000M/FW8/AO-L
Pyxis 3" Rotator
Baader LRGBHa Filters
PixInsight/MaxIm/ACP/Registar/Mira AP/PS CS5

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: PI Equivalent to Shadows/Highlights
« Reply #3 on: 2013 February 09 14:24:39 »
Hi Dave!
I am using PI 1.7

The WriteJPEG.... script came from:
http://pixinsight.com/forum/index.php?topic=3613.msg25437#msg25437

Gerald

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: PI Equivalent to Shadows/Highlights
« Reply #4 on: 2013 February 09 14:42:41 »
Thanks Gerald! Another useful script I was not aware of.
Philip de Louraille

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: PI Equivalent to Shadows/Highlights
« Reply #5 on: 2013 February 09 16:18:41 »
Hi Philip!
Pleasure if i could help, but the Thanks goes to Enzo and Juan for providing it.
Gerald

Offline Philip de Louraille

  • PixInsight Addict
  • ***
  • Posts: 289
Re: PI Equivalent to Shadows/Highlights
« Reply #6 on: 2013 February 09 17:15:52 »
Absolutely! But you're the one dropped the hint!
I think there is a notification system missing for scripts.
Philip de Louraille