Saturday, 15 February 2014

matlab - logical and between an image and a const value -



matlab - logical and between an image and a const value -

i want write code bit plane slicing without using bitget() want calculate logical , between image , const value such 5 bit plane 5 do?

have tried bitand?

fifthbit = bitand( i, 32 ) > 0; % assuming integer type

matlab image-processing logical-operators

No comments:

Post a Comment