return(MagickFalse);
status=MagickTrue;
progress=0;
- concurrent=GetRandomSecretKey(random_info[0]) == ~0UL ? MagickTrue :
- MagickFalse;
random_info=AcquireRandomInfoThreadSet();
concurrent=GetRandomSecretKey(random_info[0]) == ~0UL ? MagickTrue :
MagickFalse;
traits=GetPixelChannelMapTraits(image,channel);
if (traits == UndefinedPixelTrait)
continue;
+ if ((traits & CopyPixelTrait) != 0)
+ continue;
q[i]=ClampToQuantum(ApplyEvaluateOperator(random_info[id],q[i],op,
value));
}
register ssize_t
i;
+ if (GetPixelMask(image,p) != 0)
+ {
+ p+=GetPixelChannels(image);
+ q+=GetPixelChannels(statistic_image);
+ continue;
+ }
for (i=0; i < (ssize_t) GetPixelChannels(image); i++)
{
PixelChannel
if ((traits == UndefinedPixelTrait) ||
(statistic_traits == UndefinedPixelTrait))
continue;
- if (((statistic_traits & CopyPixelTrait) != 0) ||
- (GetPixelMask(image,p) != 0))
+ if ((statistic_traits & CopyPixelTrait) != 0)
{
SetPixelChannel(statistic_image,channel,p[center+i],q);
continue;