An accurate estimation of the target object size and shape is an essential step in many computer vision applications, including object tracking and object recognition. However, due to the presence of cast shadow, these properties cannot be obtained accurately using common object detection systems. In many cases, due to having similar characteristics, shadow points are misclassified as parts of moving objects. To deal with the problem of misclassifying shadows as foreground, various methods have been introduced. Most of these methods have been designed to detect shadows in specific situations and often fail to distinguish shadow points from the foreground object in many cases, including foreground-background camouflage and foreground-shadow camouflage. The aim of this research is to solve these two environmental problems and to improve accuracy and real-time performances by developing two effective algorithms for detecting moving shadows in image sequences. The first algorithm uses three features, namely, intensity, invariant colour constancy and temporal colour constancy, to distinguish shaded regions from objects. In this method, an initial clustering of the change detection mask is used to divide the mask into sub-regions, then three quantities, namely, intensity mean, invariant colour constancy measurement and temporal color constancy measurement are computed for each region. Initial classification is made based on these three measurements followed by inter-region relationships among neighbouring regions to enhance the final detection result. In this method, a number of improvements in the shadow detection systems have been introduced. First, a new model of colour constancy, namely, invariant colour constancy, has been analysed and formulated. Invariant colour constancy model has been shown its efficiency in presence of camouflages. Second, temporal colour constancy has been modelled to sustain high levels of shadow detection accuracy. In particular, temporal colour constancy works well in presence of foreground-shadow camouflage. Finally, inter-region dependencies among neighbouring sub-regions are used to eliminate regions with false positives and negatives. The second method is designed to detect moving shadows of vehicles in real-time applications. The method is based on two measurements, namely, the illumination direction and the intensity measurements in the neighbouring pixels in a scanned line, to detect intervals with a decreasing function. This proposed method introduces three innovative concepts. Firstly the proposed method works on image-line analysis, which is different from traditional methods relying on either pixel-based or region-based analysis. Secondly it exploits two features, namely, spatial and intensity relationships, among points belonging to the scanned image-line to detect intervals with a decreasing function. This is done by using the illumination direction of the dominant light source and the amount of the receiving energy of the sunlight by each point. Finally, the linear property of the transition factor inside the shadow cast area is proposed as a new shadow detection criterion. Experimental results show better performances of the two proposed methods over other methods and better achievements in terms of detection rate, shadow discrimination rate and efficiency in real-time performances when compared to existing methods. These significant improvements show that the methods developed in this research meet the aim of this thesis.