how can i compute euclidean distance between 2 consecutive points of a manifold curve
2 views (last 30 days)
Show older comments
hello im working on echocardiography datas. i have a manifold curve for about 80 images, so each image is a point in manifold curve. i need to compute distance between consecutive frames( points) to find the 2 most nearest and farest frames(points). i need to compute the euclidean distance between each 2 points but i dont know how. this is my matlab code for manifold curve:
clear all; close all; clc;
Image_Address_Echo_1='E:\shadi gholipoor\manifold\4-chamber view\frames\';
file_format_Echo='.jpg';
for num=1:84
prefix_image='4-chamber view';
Image= rgb2gray(imread(strcat(Image_Address_Echo_1,prefix_image,num2str(num),file_format_Echo)));
Row_Col_Input_Image= size(Image);
Input_Dataset1(num,:)= reshape(Image,1,(Row_Col_Input_Image(1,1)*Row_Col_Input_Image(1,2)));
end
Output_Echo_LLE_8_Dataset1 = compute_mapping(Input_Dataset1, 'LLE',2,8);
plot(Output_Echo_LLE_8_Dataset1(:,1),Output_Echo_LLE_8_Dataset1(:,2),'.r-'),title('LLE, 8,gholipoor 4chamber view')
0 Comments
Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!