How to find slope for each pixel?
2 ビュー (過去 30 日間)
古いコメントを表示
I have two tiff files. Tb.tif is on y axis and s.tif is onx axis.
A = imread('Tb.tif');
S =imread('s.tif');
I want to calculate slope using A = b*S for each pixel
1 件のコメント
Image Analyst
2014 年 11 月 4 日
You forgot to attach them. And without them I have no idea what you mean by slope or what it means for an entire image to be "on y axis" or "on x axis".
回答 (1 件)
Mikhail
2014 年 11 月 4 日
As i understood, you need to find b=S/A in each point, so you need to use term-by-term division:
b=S./A;
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Lighting, Transparency, and Shading についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!