Page 2 of 2

Re: possible bug fx escape IM 6.6.6.5

Posted: 2010-12-17T10:34:58-07:00
by fmw42
Do I understand that now:

%[mean] and %[fx:mean] now produce the same global mean from all the channels and the same for min/minima max/maxima etc on the statistics

And to get any channel mean one would now do:

%[fx:mean.r] say for the red channel

If so at what version was this change made -- for my version trapping in my scripts (though this will generally not be a big issue).

In many ways this is nice as then to get the global mean from all channels I can do it in the fx escape and include other calculations. I don't have to do it in two steps getting the global mean from %[mean], storing it in a variable and then using it in a subsequent fx calculation.

Fred

Re: possible bug fx escape IM 6.6.6.5

Posted: 2010-12-17T11:53:31-07:00
by magick
The ChangeLog says:
  • 2010-11-08 6.6.5-8 Cristy <quetzlzacatenango@image...>
    * %[fx:mean] is the mean of the default channels (all but opacity) (reference
    viewtopic.php?f=1&t=17432).
So we assume the change was made in version 6.6.5-8.

Re: possible bug fx escape IM 6.6.6.5

Posted: 2010-12-17T14:42:59-07:00
by fmw42
Thanks. Sorry I overlooked that in the changelog.

Re: possible bug fx escape IM 6.6.6.5

Posted: 2010-12-19T16:25:52-07:00
by anthony
Okay. Documentation will need to be fixed to declare channel as being 'unknown', and that the channel value needed for a calculation will need to be declared.