Spacial Prediction of Images

This function spacial_predict does spatial prediction of the input image.
462 Downloads
Updated 10 Sep 2014

View License

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
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Images in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Typos in Title and Description are corrected

1.0.0.0