Improved Embedded Non-Linear Processing of Video for Camera Surveillance