how to write a function to set a threshold value for a real motion?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • valy
    New Member
    • Jan 2008
    • 8

    how to write a function to set a threshold value for a real motion?

    hi guys,
    do y'all have any idea about writing a function to calculate the amount of white pixels on a difference image, and if the white amount is >= the threshold value then the image is count as a real motion to avoid some small motion detected which is not a real motion. Finally an motion alarm feature is applied.

    C code in Linux are required.

    hope someone can help me on this.
    thanks alot.
    Last edited by valy; Mar 13 '08, 05:11 AM. Reason: less info given
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Sure we can help.

    What do you have so far?

    Comment

    Working...