image thumbnail

Spacial Prediction of Images

version 1.1.0.0 (2.26 KB) by Santhana Raj
This function spacial_predict does spatial prediction of the input image.

452 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 (2022). 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

Community Treasure Hunt

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

Start Hunting!