image - 无法使用与灰度图像矩阵的乘法

标签 image matlab image-processing octave

我对 matlab/octave 很陌生。我使用 octave 的 imread() 函数加载了图像。我尝试对矩阵执行乘法运算,但出现以下错误:

binary operator `*' not implemented for `uint8 matrix' by `matrix' operations 

还有其他输入图片的方法吗??

最佳答案

I=imread('...');
I=rgb2gray(I);
I=double(I);
% you can perform the multiplication operation now

关于image - 无法使用与灰度图像矩阵的乘法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20820315/

相关文章:

algorithm - 如何检测视频中物体的兴趣点?

javascript - jQuery 计算背景图像纵横比并更改元素的填充值

python - Matlab 向量化 printf 类似 python 中的函数

javascript - JSON 从 css 解析图像

algorithm - 使用小矩阵在巨大的凸矩阵中实现全局最小值

python - 如何定位图像中亮点的中心?

ios - UIImages 的图像大小,1024 x 1024?

python - 如何从图像中提取椭圆轮廓并保存到不同的变量中?

css - 如何抑制 Shiny 图像的抗锯齿?

JavaScript promise 以相反的顺序加载