Home
last modified time | relevance | path

Searched refs:pos_scale (Results 1 – 1 of 1) sorted by relevance

/external/ImageMagick/MagickCore/
Dmorphology.c4562 pos_scale, in ScaleKernelInfo() local
4573 pos_scale = 1.0; in ScaleKernelInfo()
4577 pos_scale = fabs(kernel->positive_range + kernel->negative_range); in ScaleKernelInfo()
4580 pos_scale = kernel->positive_range; in ScaleKernelInfo()
4584 pos_scale = ( fabs(kernel->positive_range) >= MagickEpsilon ) in ScaleKernelInfo()
4590 neg_scale = pos_scale; in ScaleKernelInfo()
4593 pos_scale = scaling_factor/pos_scale; in ScaleKernelInfo()
4598 kernel->values[i] *= (kernel->values[i] >= 0) ? pos_scale : neg_scale; in ScaleKernelInfo()
4601 kernel->positive_range *= pos_scale; in ScaleKernelInfo()
4604 kernel->maximum *= (kernel->maximum >= 0.0) ? pos_scale : neg_scale; in ScaleKernelInfo()
[all …]