GxMotdet |
The GX motdet Control is a dedicated ActiveX control for detecting changes between stills in a stream.
The GX Motdet control is an image source and container control. If the GX motdet control connects to an image source control it updates the images from the source and analyzes them. The Threshold property of the GX Motdet control determines the result of the motion detection. If the max. difference between the sequential images is greater than Threshold then motion occurred. The control generate ImageUpdate event after every images and parameters determines the status of the motion detection.
Width of a still (integer)
This property is must be set to the width of the images. The algorithm does not
work with images that have different sizes.
Height of a still (integer)
This property is must be set to the height of the images. The algorithm does not
work with images that have different sizes.
Diminutive value in X orientation
It contains a diminutive value in the X orientation and must be a positive integer
number. The default value is 8 (e.g.: If an image width is 640 pixels,
the module diminutives it to 80 pixels). The less value results in better
precision but the algorithm will be slower.
Diminutive value in Y orientation
It contains a diminutive value in the Y orientation and must be a positive integer
number. The default value is 8 (e.g.: If an image height is 480 pixels,
the module diminutives it to 60 pixels). Lower values results
in better precision but the algorithm will be slower.
Width of a block
Width of a block in pixels. It must be less than the diminutived width
(xsize/scale_x). Lower value results in better precision and quick speed but
it increases the probability of false hits.
Height of a block
Height of a block in pixels. It must be less than the diminutived height
(ysize/scale_y). Lower value results in better precision and quick speed but
it increases the probability of false hits.
Minimal pixel contrast
It defines the minimal contrast. The algorithm does not differentiate two
pixels with the numerical difference within this interval. The default value is 8
(e.g.: If the value is 4 it signifies 4 in the 8-bit grayscale image /256 values/).
Sensibility
The sensibility of the algorithm. If the overall pixel difference of a block
greater than sensibility*block_x*block_y, the the block is added to the critical
area.
Name | Description |
---|---|
![]() | This method connects the control as an image container object to an image source object. |
![]() | This method returns the error code and string of the control. |
![]() | This method returns the error code of the control. |
![]() | This method returns the error string of the control. |
![]() | This method returns a binary value representing the control's class as an image source. |
![]() | This method gets an integer property of the GxMotdet module. |
![]() | This method returns a binary value representing the control's object as a source handle. |
![]() | This method sets an integer property of the GxMotdetmodule. |
![]() | This method updates the image of the control by getting the image from the image source to which it is connected to. |
Name | Description |
---|---|
![]() | Occurs when the image of the ActiveX control is updated |
Name | Description |
---|---|
![]() | Enables/disables the automatic image update from the connected source. |
![]() | Parameter string given for the image source control when updating the image. |
![]() | If the max. difference between the sequential images is greater than Threshold then motion occurred. |
![]() | [Read only] The version of the GxMotdet ActiveX control |