1. A system comprising: an image-processing device; and a camera operatively connected to said image-processing device, said camera outputting video of a scene being monitored and being in a fixed position relative to said scene, said camera outputting said video as a sequence of video frames having pixel values in a first color space, said first color space having a first number of channels, said image-processing device mapping said video frames to a second color representation of video frames, said second color representation of video frames having a larger second number of channels relative to said first number of channels, said image-processing device producing a second color representation of a background frame of the scene, said image-processing device detecting at least one foreground object in a current frame of video frames by comparing said second color representation of said current frame with said second color representation of said background frame, and said image-processing device outputting an identification of said at least one foreground object in said current frame of said video.