How to calculate the slope of each pixel?

Suppose I have to tiff files Tb and sv. I can find out slope through y=ax+b by plotting Tb on y axis and sv on x axis. But I need to calculate the slope for each pixelsof Tb and sv.How to do it?
Tb = imread('Tb.tif'); sv = imread('Norm.tif');

Réponses (0)

Catégories

En savoir plus sur Vehicle Dynamics Blockset dans Centre d'aide et File Exchange

Question posée :

le 27 Oct 2014

Community Treasure Hunt

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

Start Hunting!

Translated by