A repository containing various MATLAB functions pertaining to multimedia including image/signal/video processing. Additional graphing scripts included.
• Grabs frames of video (mp4, mov, avi, etc) and stores in structure ready for processing/analysis.
![]() |
![]() |
---|
Source Files: Importing Video Files
• Generates the Fourier Transform of a sinusoidal signal dependent on sampling frequency.
• Uses the DSB (Double Side Band) form of showing the transform.
Fourier Transform Sinusoid Frequency = 50Hz at Sampling Frequency = 1000Hz | Fourier Transform Sinusoid Frequency = 200Hz at Sampling Frequency = 1000Hz |
---|---|
![]() |
![]() |
Source Files: Scaled Fourier Transform
• Plots spheres and circles on a 3D axes with adjustable centre positions.
• Can plot wireframes or shell shaded plots using surf.
Circle Wireframe 3D-Plot | Sphere Wireframe 3D-Plot | Sphere Surf 3D-Plot |
---|---|---|
![]() |
![]() |
![]() |
Source Files: 3D-Plots in MATLAB App-Designer
• Takes inputs as table headers/labels and creates a table of N by N size where, N is equal to the number of table headers/labels.
Source Files: MATLAB App-Designer User Set Table
%Script to strip location data of a folder of images%
%Directory path where the images are stored in a folder%
Directory_Path = "";
Image_File_Names = [dir("*.png")' dir("*.jpg")'];
for Image_Index = 1: length(Image_File_Names)
Image = imread(Image_File_Names(Image_Index).name);
Path = ['/Users/michael/Desktop/Exported_Images/Image' num2str(Image_Index) '.png'];
imwrite(Image,Path,'Mode','lossless');
end