Author Topic: Curves Transform: Histogram and UI  (Read 20810 times)

Offline andyschlei

  • PixInsight Addict
  • ***
  • Posts: 157
    • http://www.obsballona.org
Curves Transform: Histogram and UI
« on: 2007 February 14 17:10:18 »
It would be very nice to have a live histogram that updates as you adjust the curves dialog (similar to the live histogram in the histogram stretch dialog).

Also, I find I am frequently unintentionally adding points on the curve when I am trying to select an existing point on the curve.  This is frustrating since you need to select a different tool to delete the point.  I think it would work better if there was a larger area where clicking would "grab" onto the existing point.  You can always set a point farther away and drag it closer if you need to.

Thanks for listening,

--Andy
Observatorio de la Ballona
CDK 12.5, NP-101, C-11
AP-1200, AP-900
ST-10 XME, CFW-8, Astrodon v2 filters
Pyxis Rotator, TCF Focuser

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Curves Transform: Histogram and UI
« Reply #1 on: 2007 February 14 19:40:58 »
Hi Andy

Thanks for your suggestions. The first idea is not as trivial as it sounds... we'll consider it, but I guess that it will not be included in the first release. You may look the modified histogram by applying the Curves to the image itself, or working with previews. It is not real time previewing, but if you keep the propper image selected on the histogram window, it is not hard to follow.

About the second, I liked that. Maybe we can create something like a preferences dialog for the curves interfase, and display that option there.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Curves Transform: Histogram and UI
« Reply #2 on: 2007 February 15 00:40:26 »
Hi Andy,

Thank you for your (pix)insights :)

I have in mind a way to implement a live histogram feature for the real-time preview. Basically, the idea is to expose the "image" in the real-time preview to the rest of process interfaces, so that it will be selectable as a "view" in the HistogramTransform window, for example.

As Carlos has said, this is not as easy as it sounds, mainly because it conflicts with some key points in the internal architecture of PixInsight, but it is doable. It will have to wait for a while however since our maximum priority now is to finish version 1.0 (including the Linux version), and this task is time-consuming. But I'd like to see it working somewhere during this year.

Regarding the CurvesTransform window, I'll tell you a few tricks  :D

With the CurvesTransform window active:

- Press the Ctrl key  to temporarily activate the "Delete Point" mode. In this mode, you can only delete existing points, not move them nor create new ones. So you can click on the curve while holding Ctrl pressed to delete points, then release Ctrl to return to the normal "Add/Edit Point" mode. This is faster and easier than selecting a new tool.

- Press the Shift key to temporarily activate the "Select Point" mode. In this mode, you can click on the curve to select a point, but you can't move any point or create new ones.

- Use the mouse wheel to zoom in/out the curve graphic. Note that when you use the wheel, the curve graphic is zoomed centered on the precise location of the mouse cursor.

- If you prefer a much more accurate way to zoom, you can use the Ctrl+Space key combination to temporarily change to Zoom In mode. So press Ctrl+Space and hold it, then click on the desired location to zoom in. To zoom out, you can use Ctrl+Alt+Space in a similar way.

When you get accustomed to use these keyboard shortcuts, I'm sure you'll love the CurvesTransform interface. By the way, the same shortcuts work for the HistogramTransform interface. I hope you'll find them useful.

Thank you
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline andyschlei

  • PixInsight Addict
  • ***
  • Posts: 157
    • http://www.obsballona.org
Curves Transform: Histogram and UI
« Reply #3 on: 2007 February 15 10:00:27 »
Juan & Carlos,

Thank you for your response.  I understand the difficulty of a live histogram process, particularly with the robust histogram you provde.  Thanks for putting it on the list.

Quote from: "juan_conejero"
Regarding the CurvesTransform window, I'll tell you a few tricks  :D


Juan, these shortcuts sound great and certainly make the dialog much more user-friendly.  As I learn more about PixInsight, it just keeps looking better and better.

Clear skies,

--Andy
Observatorio de la Ballona
CDK 12.5, NP-101, C-11
AP-1200, AP-900
ST-10 XME, CFW-8, Astrodon v2 filters
Pyxis Rotator, TCF Focuser