How to plot grey level variation along horizontal cross-section of any image according to position of the mouse?

更多回答(1 个)

There is a function specifically built for that. It's called improfile(). It can handle profiles at any angle, though if you know that you want exactly a perfect row or column, the code Dishant gave is the way to go.

类别

在 帮助中心 和 File Exchange 中查找有关 Data Exploration 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by