PixInsight Forum (historical)

PixInsight => Bug Reports => Topic started by: Yuriy Toropin on 2009 June 06 11:37:59

Title: PI1.5: Incomplete list of available images in LRGBCombination
Post by: Yuriy Toropin on 2009 June 06 11:37:59
See attached screenshot.

While dropdown list for selection of Target is correct and full, it contains all images available in workspace, Select (R/G/B) Channel Source Image dialog doesn't show correct full list in dropdown control, some images are missed.

General - is it possible to replace Channel selection dialogs with simple dropdown list to save 6 mouse clicks in channels configuration?

Thanks and clear sky!
    Yuriy
Title: Re: PI1.5: Incomplete list of available images in LRGBCombination
Post by: Juan Conejero on 2009 June 12 09:18:07
Hi Yuriy,

Hey, cool screenshot! 8)

When you select a target view, LRGBCombination allows you to select only grayscale channel images with the same geometry (width, height) as the target view. That's why in your example, Image10 doesn't appear on the channel selection dialog: it is a RGB image. This is also the reason to implement LRGB channel selection as a separate dialog box, instead of a regular view selection combo box: with a view selection c.b. we have no way to filter out images as a function of their geometries and/or color spaces.

If you select no target view, then LRGBCombination's interface will allow you to select any grayscale images, without checking their geometries. However, if some of the L, R, G or B images have incompatible geometries when you execute the LRGBCombination instance, you'll get a runtime error.

Does this explain what you're experiencing?
Title: Re: PI1.5: Incomplete list of available images in LRGBCombination
Post by: Yuriy Toropin on 2009 June 14 01:02:26
Hi Juan,

Thanks a lot for the explanation,
with it I've understood that
what has been looked odd is not odd at all
and more feature than the bug. :)

Sincerelly,
   Yuriy

PS: Is it possible to support standard windowZ behavior and use Ctrl+(?Shift)+TAB to go through opened images? It's really inconvinient when "standard" buttons combo just doesn't work... :(