automatic masking for MD - Feature Requests - CHDK Forum supplierdeeply

automatic masking for MD

  • 2 Replies
  • 2026 Views
automatic masking for MD
« on: 15 / October / 2009, 23:55:10 »
Advertisements

as far as i can find, this does not exist.

basically, it would be designed to stop the motion detector from going off from things you are not trying to capture - trees, shadows moving etc.

the way i envision it, you set your grid resolution, then set it to 'auto mask' for a specified time, and during automask, any cell that detects movement is 'masked'. At the moment it is only possible to mask whole columns or rows, and this is hard to mask if there's something in the middle of your pic setting it off. plus sometimes you can't tell what's setting it off, which is very frustrating  >:(


*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: automatic masking for MD
« Reply #1 on: 17 / October / 2009, 10:00:54 »
Arbitrary cell masking is probably something that would require rewriting motion detector C code from the scratch, which is not likely to happen unless someone capable needs to do it for themselves and shares their code.

You can mask a rectangular group of cells (or a single cell) from the middle by toggling MDFB option mask/use.

Often (especially when there isn't plenty of light) when you don't quite know what's setting MD off, it may be noise from the sensor instead of actual movement. Maybe masking dark areas would help there.


If I remember correctly, MD returns the number of cells that caused the trigger. It would probably be fairly trivial to add an parameter to change that behavior so that it would return the number (top to bottom, left to right) of one of the cells that triggered (or maybe even all of them for Lua) instead. That way the script could keep making the mask tighter during the learning phase by masking columns and rows from the borders or the middle if the script writer or user so choose.



*

Offline mx3

  • ****
  • 372
Re: automatic masking for MD
« Reply #2 on: 18 / October / 2009, 13:57:05 »
Arbitrary cell masking is probably something that would require rewriting motion detector C code from the scratch...
nope. it is easy to implement it actually.
I did not implement it due to lack of interest from MD enthusiasts 2 years ago...
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal