Lines Matching refs:stretch_map
1563 *stretch_map, in ContrastStretchImage() local
1591 stretch_map=(double *) AcquireQuantumMemory(MaxMap+1UL,MaxPixelChannels* in ContrastStretchImage()
1592 sizeof(*stretch_map)); in ContrastStretchImage()
1594 (histogram == (double *) NULL) || (stretch_map == (double *) NULL)) in ContrastStretchImage()
1596 if (stretch_map != (double *) NULL) in ContrastStretchImage()
1597 stretch_map=(double *) RelinquishMagickMemory(stretch_map); in ContrastStretchImage()
1681 (void) memset(stretch_map,0,(MaxMap+1)*GetPixelChannels(image)* in ContrastStretchImage()
1682 sizeof(*stretch_map)); in ContrastStretchImage()
1695 stretch_map[GetPixelChannels(image)*j+i]=0.0; in ContrastStretchImage()
1698 stretch_map[GetPixelChannels(image)*j+i]=(double) QuantumRange; in ContrastStretchImage()
1701 stretch_map[GetPixelChannels(image)*j+i]=(double) ScaleMapToQuantum( in ContrastStretchImage()
1718 image->colormap[j].red=stretch_map[GetPixelChannels(image)* in ContrastStretchImage()
1724 image->colormap[j].green=stretch_map[GetPixelChannels(image)* in ContrastStretchImage()
1730 image->colormap[j].blue=stretch_map[GetPixelChannels(image)* in ContrastStretchImage()
1736 image->colormap[j].alpha=stretch_map[GetPixelChannels(image)* in ContrastStretchImage()
1780 q[j]=ClampToQuantum(stretch_map[GetPixelChannels(image)* in ContrastStretchImage()
1803 stretch_map=(double *) RelinquishMagickMemory(stretch_map); in ContrastStretchImage()