Spacial Prediction of Images
This function spacial_predict does spatial prediction of the input image. It plots the resultant image and the Mean square error if the plot flag is 1. The function outputs the Error of the predicted image(E_spatial) and the predicted image (PS) itself. The input image has to be of the format image(rows,cols) and should not be a 3D image or a RGB image.
Example:
file=('<Path of image file>');
plotflag=1;
im = imread(file); image=im(:,:,1);
[E_spatial,PS]=spatial_predict(image,plot_flag);
Author:Santhana Raj.A
https://sites.google.com/site/santhanarajarunachalam/
Cite As
Santhana Raj (2024). Spacial Prediction of Images (https://www.mathworks.com/matlabcentral/fileexchange/47788-spacial-prediction-of-images), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.