Extract shapes from photos as graphs using MATLAB and express them as functions
I would like to extract a function by graphing the outline of the Hindenburg airship.
Here, I would like to define a function that matches the actual size of the Hindenburg.
For example, the length of the Hindenburg airship is 245.3 meters. The length of both endpoints of the function will be 245.3
I even put dots on a picture and expressed it as a graph, but I can’t define the function according to the actual scale.
I used this code
data=imread(‘project_final.png’);
imshow(data);
b=drawpolygon(‘Color’,’red’);
bx=b.Position(:,1);
by=b.Position(:,2);
f=fit(bx,by,’poly4′)I would like to extract a function by graphing the outline of the Hindenburg airship.
Here, I would like to define a function that matches the actual size of the Hindenburg.
For example, the length of the Hindenburg airship is 245.3 meters. The length of both endpoints of the function will be 245.3
I even put dots on a picture and expressed it as a graph, but I can’t define the function according to the actual scale.
I used this code
data=imread(‘project_final.png’);
imshow(data);
b=drawpolygon(‘Color’,’red’);
bx=b.Position(:,1);
by=b.Position(:,2);
f=fit(bx,by,’poly4′) I would like to extract a function by graphing the outline of the Hindenburg airship.
Here, I would like to define a function that matches the actual size of the Hindenburg.
For example, the length of the Hindenburg airship is 245.3 meters. The length of both endpoints of the function will be 245.3
I even put dots on a picture and expressed it as a graph, but I can’t define the function according to the actual scale.
I used this code
data=imread(‘project_final.png’);
imshow(data);
b=drawpolygon(‘Color’,’red’);
bx=b.Position(:,1);
by=b.Position(:,2);
f=fit(bx,by,’poly4′) data extract, graph and function conversion MATLAB Answers — New Questions