【发布时间】:2012-07-07 08:01:09
【问题描述】:
我想使用浮点数作为索引来选择图像中的像素。 Matlab 文档says that this is possible using "spatial coordinates"。但是,它没有提供有关如何执行此操作的任何线索。如何使用浮点索引(“空间坐标”)从图像中选择像素?
假设我有以下代码:
i = imread('pout.tif')
get_pixel_by_spatial_coords(i, 1.5, 3.63)
函数get_pixel_by_spatial_coords的真实名称是什么?
【问题讨论】:
标签: matlab