MATLAB: How to sort images from the smallest to the largest distance from the selected image ? the distances(​histogram:​Euclidean metric)

digital image processingframeimage processingvideo processing

Hi everybody. I am new matlab programmer.
My project is video Processing. I have xylopfone.mpg than How can i select image in xylopfone.mpg ?
other question How to sort images from the smallest to the largest distance from the selected image in xylophone.mpg ? the distances euclidean metric

Best Answer

For determining the frame with the smallest "distance", calculate mse (mean squared error) of each frame compared to the selected frame. You can use the two-output form of min() to determine which frame had the lowest value.
Related Question