mw::mgr::MGConfig Structure

Syntax

#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;

Description

Structure used for the parameter settings for the MGRcgGetWorkSize, MGRcgProcessInit, and MGRcgProcessExec functions.

Restrictions

  • Set (MGIMG_WIDMIN, MGIMG_HEIMIN) or (MGIMG_WIDMAX, MGIMG_HEIMAX) in (xsize,ysize).
  • Set the [pixel] coordinate value in the image data size to PSRect.
  • Set the width of the rectangle targeted for processing so that MGEXT_RECTMIN≦(mgrect.ex-mgrect.sx+1).
  • Set the height of the rectangle targeted for processing so that MGEXT_RECTMIN≦(mgrect.ey-mgrect.sy+1).
  • The [pixel] coordinate is the coordinate that uses the top left as the origin (0, 0).
  • Member Variables

    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)

    Revision History

    2010/12/02
    Version 1.0.1.
  • Added the flesh-color filter parameter
  • 2010/06/30
    Initial version.

    CONFIDENTIAL