How to calculate the slope of each pixel?

1 次查看(过去 30 天)
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');

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by