atul
November 1, 2004, 12:46:09
Hi Stefan,
I have received a second method on how to avoid motion detection in heavily lighting condition :
"...A better idea to detect motion in heavily changing lighting conditions would be to detect edges and check, whether the edges have been moved. You use a matrix like the following:
-1, -1,-1,-1,-1,0, 1, 1, 1, 1, 1
Multiply each pixel of a line in your region of interest with this matrix. On positions with high contrast (edges) you will get a higher result value, than in positions with low contrast. You may save these positions and compare them with the next frame. This method is more independent from light than the other method ...."
I find the implementation difficult. kindly help me with the source code. I would be highly obliged by you if you could help me with the above implementation.
thanks & regards,
atul.
I have received a second method on how to avoid motion detection in heavily lighting condition :
"...A better idea to detect motion in heavily changing lighting conditions would be to detect edges and check, whether the edges have been moved. You use a matrix like the following:
-1, -1,-1,-1,-1,0, 1, 1, 1, 1, 1
Multiply each pixel of a line in your region of interest with this matrix. On positions with high contrast (edges) you will get a higher result value, than in positions with low contrast. You may save these positions and compare them with the next frame. This method is more independent from light than the other method ...."
I find the implementation difficult. kindly help me with the source code. I would be highly obliged by you if you could help me with the above implementation.
thanks & regards,
atul.