- Generating a handwritten '8' using a fully connected neural network.
- Denoising noisy images of the digit '8' using gradient descent optimization.
- Reconstructing reduced-resolution images of the digit '8' while adding noise.
- Problem 2.1 - A generative model creates a handwritten '8' using two fully connected layers with ReLU and sigmoid activations. The input is a random Gaussian vector.
- Problem 2.2 - Reconstructing noisy images of a '8' by retaining a subset of pixel values.
- Problem 2.3 - Reconstructing images with reduced resolution and added noise using matrix transformations.
data21.mat
,data22.mat
,data23.mat
: MATLAB data files containing matrices and vectors used for the neural network transformations and image reconstructions.ex1.m
,ex2.m
,ex3.m
: MATLAB scripts corresponding to each problem.
-
Setup
- Ensure MATLAB is installed on your system.
- Load the data files using the scripts provided (e.g.,
load('data21.mat')
).
-
Running the Scripts
- Each script (
ex1.m
,ex2.m
,ex3.m
) corresponds to a specific problem in the exercise. - You can modify input parameters (e.g.,
N
values for pixel retention) as described in the code to observe different results.
- Each script (
-
Visualization
- The generated images, denoised images, and reconstructed images will be displayed using MATLAB's
imshow
function.
- The generated images, denoised images, and reconstructed images will be displayed using MATLAB's