荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: cocomo (玻璃上的蚂蚁,前途光明却总也找不到出路), 信区: Program
标  题: Re: 请问一下:matlab数字图像的位图切割命令
发信站: 荔园晨风BBS站 (Wed Nov  8 16:16:13 2006), 站内

iWater的回答:

imread()
bitand()
imshow()




ps:再给个例子

Bit-wise AND SyntaxC = bitand(A,B)
DescriptionC = bitand(A,B) returns the bit-wise AND of two nonnegative
integer arguments A and B. To ensure the operands are integers, use the
ceil, fix, floor, and round functions. ExamplesThe five-bit binary
 representations of the integers 13 and 27 are 01101 and 11011,
respectively. Performing a bit-wise AND on these numbers yields 01001,
or 9. C = bitand(13,27)

C =

     9



【 在 gentin (恐怖分子~大四了,大把时间吹水) 的大作中提到: 】
: 不行啊。。我找不到-_-!!
: 我那个作业的要求是这样的:
: 打一幅8bit的图像a。
: (1)将其低四个位面置0,显示图象b。
: 【 在 cocomo (玻璃上的蚂蚁,前途光明却总也找不到出路) 的大作中提到: 】
: : 使用帮助命令慢慢找
: : 关键词可以是bitmap


--
   .   ● .  .       .   ︿︿  .
 .   .  .        .      ((oo))︿︿     今晚的星星好亮呀!
      .    .        .    |︶ \(oo))
    .      ______________\___/\︶_)_________________________________________
 . .   .  |_____|_____|_____|\/___|_____|_____|_____|_____|_____|_____|_____|
          |__|_____|_____|_____|_____|_____|_____|_____|_____|_____|_____|__|


※ 来源:·荔园晨风BBS站 bbs.szu.edu.cn·[FROM: 219.134.251.150]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店