comparison of images based on Euclidean Distances using java(Netbeans)