www.photomacrography.net :: View topic - Zerene - use all color channels in decisions
www.photomacrography.net Forum Index
An online community dedicated to the practices of photomacrography, close-up and macro photography, and photomicrography.
Photomacrography Front Page Amateurmicrography Front Page
Old Forums/Galleries
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Zerene - use all color channels in decisions

 
Post new topic   Reply to topic    www.photomacrography.net Forum Index -> Macro and Micro Technique and Technical Discussions
View previous topic :: View next topic  
Author Message
Ultima_Gaina



Joined: 28 Jan 2017
Posts: 74

PostPosted: Wed May 24, 2017 5:32 pm    Post subject: Zerene - use all color channels in decisions Reply with quote

Rik, can you be so kind to explain what are the pros and cons of setting "use all color channels in decisions" for Pmax?
Back to top
View user's profile Send private message
rjlittlefield
Site Admin


Joined: 01 Aug 2006
Posts: 18911
Location: Richland, Washington State, USA

PostPosted: Wed May 24, 2017 6:46 pm    Post subject: Reply with quote

Pros: can give better results in unusual cases when foreground/background contrast is mainly in color, not luminance.

Cons: consumes more computing resources.

That feature was installed mainly because of one user who works with flies that have colored legs, and reported that he was having trouble with the color losing saturation.

Here is a snippet of email that explains most of the issues:
support@zerenesystems.com wrote:

[The user] wrote:
> A priori I'd have thought Stacker should be using variance of the
> position in a colour space that approximates that of human perception,
> rather than just tone.

I considered both options during early development.

The rationale for using just luminance is that the decisions really don't have anything to do with color, only with focus. Once focus is determined, all the color channels get processed using the same decision.

It's simple enough to conjure up a synthetic test case in which this gives the wrong answer. Just cover the subject foreground with a pattern that has constant luminance but changing color, while covering the background with a pattern that has varying luminance. Hey presto, the foreground looks featureless so it goes transparent. However, in most real life images, color variations are accompanied by sufficiently strong luminance variations that you get the same answer either way.

It happens that your flies -- at least the test stack -- are exceptions to that pattern. In your test stack, there's enough more information in the color channels to give a correct decision in some cases where looking at just luminance gets it wrong. As you'll see, the fly's legs do retain more saturation with the new option selected, but more importantly (by my criteria) that's because they go less transparent.

In most of the other stacks I tested, the new option has little or no effect. I did see an increase in saturation in one of my other deep high mag test stacks, but otherwise the differences are pretty minimal. It turns out that using color vs luminance takes noticeably more time and memory, so that's why I made it an option instead of just changing the code. But it wasn't a big enough mod to justify "Pro-only" status, so it's available to everybody.

I'll be interested to hear how well it works for you in other cases. Let me know, please.

--Rik
Back to top
View user's profile Send private message Visit poster's website
Ultima_Gaina



Joined: 28 Jan 2017
Posts: 74

PostPosted: Thu May 25, 2017 11:51 am    Post subject: Reply with quote

Thanks Rik!
So if resources are not an issue, it is advisable to permanently enable this feature, right?

I'm noticing less noise on PMax, to the extent that it looks almost as good as DMap, from this point of view. But maybe this is only because yesterday's tests were based on slightly smaller stacks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.photomacrography.net Forum Index -> Macro and Micro Technique and Technical Discussions All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group