Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
の画像で使用されているビット数を取得するにはどうすればよいMatlabですか?
Matlab
ありがとう。
画像のビット深度 (つまり、1 ピクセルのエンコードに使用されるビット数) を意味する場合は、Image PROcessing Toolbox の関数を使用してみてください。imfinfo
imfinfo
ドキュメントへのリンク
使用方法は次のとおりです。
info = imfinfo('your_image.jpg') # put your filename, matlab recognizes many image formats bitdepth = info.BitDepth