Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Matlab 图像和常量值之间的逻辑and_Matlab_Image Processing_Logical Operators - Fatal编程技术网

Matlab 图像和常量值之间的逻辑and

Matlab 图像和常量值之间的逻辑and,matlab,image-processing,logical-operators,Matlab,Image Processing,Logical Operators,我想为位平面切片编写一个代码,而不使用bitget() 我想计算图像和常量值之间的逻辑and,例如5,用于获取位平面5 我该怎么办?你试过比特吗 fifthBit = bitand( I, 32 ) > 0; % assuming I is an integer type

我想为位平面切片编写一个代码,而不使用
bitget()
我想计算图像和常量值之间的逻辑and,例如5,用于获取位平面5
我该怎么办?

你试过比特吗

fifthBit = bitand( I, 32 ) > 0; % assuming I is an integer type