Abstract:A method for demosaics is proposed, and it is able to improve the quality of images which are taken from low-resolution devices. The method is mainly based on classical algorithms for edge detection and filtering, and the mosaics are removed following particular geometric features as well as probability ideas. The implementation of this method leads to significant enhancement. Further works will aim to improve the efficiency through parallel computation, concerning the reduction of resource consuming.