ImageGear Professional for Windows ActiveX
Smooth Method

Description:

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.

Syntax:

      Smooth (ByVal pPage As IGPage, ByVal Factor As Long)

Parameters:

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.

Return Value:

N/A

Bits Per Pixel:

All except indexed with >1bpp

Sample:

Image Processing and Effects

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback