1. A side window detection method, comprising: generating a deformable part model with respect to an image of a vehicle captured in a near-infrared band utilizing a side window detection and a B-frame detection module in order to obtain a set of candidate side-windows; generating a refined deformable part model utilizing super pixel generation and a longest-line detection in order to remove a false alarm with respect to said deformable part model; and refining detection performance of said refined deformable part model based on global regional information utilizing a local self-similarity based metric.