Author Topic: RGBWS Interface Bug?  (Read 3628 times)

Offline Stephane Murphy

  • Member
  • *
  • Posts: 63
RGBWS Interface Bug?
« on: 2008 October 08 08:15:17 »
I am trying to set  a RGB workspace before extracting the luminance from my RGB data. After opening the RGB Workspace interface dialog, from the dropdown control I select the image I want to set the workspace. The problem is each time I change a parameter value (Luminance coefficients, Gamma, etc) the selected image from the dropdown get reset to unselected image.

Any idea?
Thanks
Stephane
Stephane Murphy
CDK 12.5 Planewave Instrument
Paramount ME
SBIG STL11000M
SBIG ST-402 Guider
Astrodon MOAG
Astrodon Filters

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
RGBWS Interface Bug?
« Reply #1 on: 2008 October 08 09:58:44 »
Hi Stephane,

There is a misconception here. The dropdown control where you can select a view --which we call a view selection list-- is not intended to select an image to be processed or modified by the process (RGBWorkingSpace in this case).

The purpose of a view selection list is to load image data or image properties into a particular processing window. However, as soon as you change one of these properties through a parameter of the process, the set of properties is no longer coherent with the current state of the image, and hence the view selection list changes to "no view selected". Bear in mind that PixInsight is a strongly dynamic environment --as soon as you change anything in an image, every interface item that depends on it changes (or this is what is intended to happen, bugs permitting).

Along with dynamic, PixInsight's interface is object-oriented. This means that images and processes are completely independent from each other: you don't need an image to define a process in PixInsight.

With RGBWorkingSpace, you just define the RGB space parameters as desired, then apply it to the image you want. You can do this in several ways; mainly two:

- By selecting the image and clicking the Apply icon (blue, square). This is the same as pressing F5.

- By clicking the New Instance icon (blue, triangular) and dragging it to the image.

This chapter of PixInsight LE's documentation explains the topic of view selection lists and interfaces in more detail. PixInsight LE is now an obsolete application, but most of its documentation is still valid for the PixInsight Standard platform:

http://pixinsight.com/doc/LE/10_processing_windows/image_independent_interfaces/image_independent_interfaces.html

Hope this will help you. Our interface is quite different from what is customary in most imaging applications. However, it is much more powerful and flexible. Once you feel comfortable with PixInsight's object-oriented interface, returning to simpler solutions will be very difficult :)
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Stephane Murphy

  • Member
  • *
  • Posts: 63
RGBWS Interface Bug?
« Reply #2 on: 2008 October 08 10:20:54 »
Thanks a lot! It Make sense now, I very like your approach.  I am familiar with the set of software patterns i.e. MVC (Model View Controller). Observer set of patterns, for me I can relate your explanation to this.


Another question if you don't mind. If I want to extract the luminance with the correct weights, I do you find the correct value for the RGB workspace? Any systematic approach?


Thanks again,

Stephane
Stephane Murphy
CDK 12.5 Planewave Instrument
Paramount ME
SBIG STL11000M
SBIG ST-402 Guider
Astrodon MOAG
Astrodon Filters