ImageGear for C and C++ on Windows v20.0 - Updated
AT_IGGUI_IP_UNSHARP_MASK
API Reference Guide > GUI Component API Reference > GUI Component Structures Reference > AT_IGGUI_IP_UNSHARP_MASK

This structure is used by the IG_gui_ip_unsharp_mask_dlg function to choose parameters and apply the Unsharp Mask transform.

Declaration:

 
Copy Code
typedef struct tag AT_IGGUI_IP_UNSHARP_MASK
{
        DWORD cbSize;
        UINT uFlags;
        HIGEAR hIGear;
        HWND hWnd;
        LPCHAR lpszTitle;
        AT_RECT rc;
        double dblRadius;
        UINT nAmount;
        UINT nThreshold;
        AT_MODE nColorChannel;
        AT_ERRCOUNT nErrCount;
        LPFNIGGUI_IP_UPDATE lpfnUpdateProc;
}AT_IGGUI_IP_SMOOTH;

Members:

Name Type Description
cbSize DWORD Specifies the length, in bytes, of the structure.
uFlags UINT A set of bit flags you can use to initialize the dialog box.
hIGear HIGEAR A handle of an image.
hWnd HWND A handle of the window to update.
lpszTitle LPCHAR A dialog title.
rc AT_RECT An AT_RECT struct specifying the portion of the image to be affected.
dblRadius double Defines the neighborhood to be considered for each pixel. The valid range is from 0.1 to 500.
nAmount UINT Amount of sharpening, in percents. The valid range is from 1 to 500.
nThreshold UINT Minimal difference between a pixel and its neighbors at which the pixel will be modified.The valid range for 8-bit gray level and 24-bit images is from 0 to 255; for 9-16-bit gray level images - from 0 to 65535.
nErrCount AT_ERRCOUNT The number of ImageGear errors that occurred during this function call.
lpfnUpdateProc LPFNIGGUI_IP_UPDATE A pointer to the function that is called when the 'Apply' button is clicked.

Is this page helpful?
Yes No
Thanks for your feedback.