- #1
needOfHelpCMath
- 72
- 0
I have a project and i need some help to understand the concepts, what is it asking for, major tips, and guide me through the process of the project. The program I will be using to program will be MATLAB.https://blackboard.learn.fresnostat.../ECE72-01-74696-2167/Project 2 Directions.pdf
Code:
// This is my for loop that i have to use to access my picture but unsure if it correct
// THIS IS NOT FOR C++
srcFiles = dir('C:\Users\James\Documents\MATLAB\image');
for i = 1 : length(image)
filename = image('',image(i).name);
I = dicomread(filename);
figure, imshow(I);
end
Code:
writerObj = VideoWriter(myAnimation, 'MPEG-4');
writerObj.FrameRate = 0.5;
open(writerObj);
a = imread('robot','jpg');
B=imresize(a,0.25);
figure(1)
imshow(B);
writeVideo(writeObj,'robot','jpg');
close(writeObj);
Attachments
Last edited: