Clear Filters
Clear Filters

How to calculate the slope of each pixel?

1 view (last 30 days)
Hana
Hana on 27 Oct 2014
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');

Answers (0)

Community Treasure Hunt

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

Start Hunting!