Extract bits from an binary image

i want to slice bits from an binary image like 8 bits to 5 bits. can you guys help how to write a code for that. (i want 5 bit binary image after slicing).

回答 (1 件)

Image Analyst
Image Analyst 2019 年 1 月 23 日

0 投票

See my attached bitplane viewer program that allows you to display any number (1-8) bitplane of a gray scale image.
Adapt as needed.

カテゴリ

質問済み:

2019 年 1 月 23 日

回答済み:

2019 年 1 月 23 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by