mw::mgr::MGConfig
Structure#include <mw/mgr/mgr.h> typedef struct { s32 xsize ; /* Image Data Width (128,160)[pixel] */ s32 ysize ; /* Image Data Height ( 96,120)[pixel] */ PSRect mgrect ; /* [pixel] coordinate for the rectangular region targeted for processing */ u8 mgmode ; /* Recognition movement mode (0,1) */ u8 frmparam ; /* Difference sensitivity between frames (0 through 10) */ u8 spdparam ; /* Speed sensitivity (0 through 4) */ u8 sknparam ; /* Flesh-colored filter parameter (0 through 200) */ u8 reserve0 ; /* Reserve flag 0 */ u8 reserve1 ; /* Reserve flag 1 */ u8 reserve2 ; /* Reserve flag 2 */ u8 reserve3 ; /* Reserve flag 3 */ } MGConfig;
Structure used for the parameter settings for the MGRcgGetWorkSize
, MGRcgProcessInit
, and MGRcgProcessExec
functions.
Restrictions
MGIMG_WIDMIN
, MGIMG_HEIMIN
) or (MGIMG_WIDMAX
, MGIMG_HEIMAX
) in (xsize,ysize).PSRect
.MGEXT_RECTMIN
≦(mgrect.ex-mgrect.sx+1).MGEXT_RECTMIN
≦(mgrect.ey-mgrect.sy+1).Name | Description | |
---|---|---|
in | xsize | Sets the image data width in pixels. |
in | ysize | Sets the image data height in pixels. |
in | mgrect | Sets the rectangular region targeted for processing in pixels. |
in | mgmode |
Sets the recognition movement mode. Set to 0, because values other than zero are not supported. |
in | frmparam |
Sets the difference sensitivity between frames in the range of 0 through 10. 0 (sensitive) through 10 (insensitive) |
in | spdparam |
Sets the speed sensitivity in the range of 0 through 4. 0 (fast moving bodies) through 4 (slow moving bodies) |
in | sknparam |
Sets the flesh-color filter parameter in the range of 0 through 200. 0 (disable flesh-color filter) 100 (default) |
CONFIDENTIAL