update add one more input image format and option for gaussian smooth
minor bug fix