ImageGear Professional v18.2 > API Reference Guide > Processing Component API Reference > Processing Component Objects > IGProcessingCtl Control > IGProcessingCtl Methods > Smooth Method |
Makes an image look softer and slightly out of focus. This can be used to reduce the graininess of an image. Factor can range from 1 to 4. Larger values will cause greater softening.
The pixel neighborhood considered by this function is 3x3, 5x5, 7x7, or 9x9 for Factor = 1, 2, 3, or 4 respectively. Therefore a smaller value is faster. Factor = 1 or 2 is recommended.
This method takes into account the ROI settings of pPage object, that are accessible via the IGPage Object.ROI Property. By default ROI is set to the entire image.
Smooth (ByVal pPage As IGPage, ByVal Factor As Long)
Name | Description |
---|---|
pPage | Reference to IGPage Object. |
Factor | Factor indicating degree of decrease to sharpness or increase to smoothness wanted. Valid range is 1 to 4. |
N/A
All except indexed with >1bpp
Image Processing and Effects