I need help with 3 question in image processing. 1.visualize the function y (x)
ID: 3888968 • Letter: I
Question
I need help with 3 question in image processing.
1.visualize the function y (x) = sin (x) for interal 0-2pi. Knowing that the visualization in the computer graphic is displayed through the segments, please be careful in the steps to be given--i need matlab code
2.A set of indexed image colors is always of the class:
a)unit8 b)double c)unit16 d)logical
3.Considering the points P = [0,0] and Q = [24,10], show:
a) What is the shortest length between points P and Q in relation to neighborhood 4?
b) What is the shortest length between points P and Q in relation to the neighborhood 8?
Explanation / Answer
x = 0:pi/100:2*pi;
y = sin(x);
figure % opens new figure window
plot(x,y)
2A. uint8 (unsigned integer of 8 bits)
3.
P = 0,0
Q = 24,10
a
13 (sqrt((24/2)^2 + (10/2)^2))
b
7.8 (sqrt((24/4)^2 + (10/2)^2))
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.