sigmoidalcontrastImage( $sigmoidalcontrast_sharpen, $sigmoidalcontrast_contrast, $sigmoidalcontrast_midpoint, $channel ); } $format = strtolower( $image->getimageformat() ); $path = "temp/$ID.$_SESSION[views].$format"; $frames = $image->getNumberImages(); if ( $frames > 1) { $image->writeImages("$path", TRUE); } else { $image->writeImage("$path"); } # save settings $_SESSION[path] = $path; $_SESSION[sigmoidalcontrast_contrast] = $sigmoidalcontrast_contrast; $_SESSION[sigmoidalcontrast_midpoint] = $sigmoidalcontrast_midpoint; header("location:display.php"); exit; } ######### end sigmoidalcontrast include("top.php"); ?>
Sharpen: Contrast: "> Mid-Point ">
Description
Adjusts the contrast of an image with a non-linear sigmoidal contrast algorithm. Increase the contrast of the image using a sigmoidal transfer function without saturating highlights or shadows.
Contrast
Indicates how much to increase the contrast (0 is none; 3 is typical; 20 is pushing it)
Mid-point
Indicates where midtones fall in the resultant image (0 is white; 50 is middle-gray; 100 is black)
Sharpen
Check sharpen to increase the image contrast otherwise the contrast is reduced.
Channel
Color channel