フィルターのクリア

how i can compress double data type of matrix without loss any information?

1 回表示 (過去 30 日間)
Ahmed almansory
Ahmed almansory 2013 年 6 月 17 日
i have a double data type matrix (image) i want to compress it without any loss of information with keep the data type of image (double).
  2 件のコメント
Walter Roberson
Walter Roberson 2013 年 6 月 17 日
In the general case, you cannot be sure that you will be able to reduce the amount of memory being used.
Iain
Iain 2013 年 6 月 17 日
Double format (15 significant figures and a range of 10^-308 to 10^+308) numbers are excessive for most normal images.
Single format numbers are still excessive. (7 significant figures and a range of around 10^-38 to 10^+38)
16 bit integers compare extremely well, and this corresponds to the "raw" format of many relatively high end SLR digital cameras.
8 bit integers, again, compare well. This is what your normal PC monitor can handle. (8 bit Red, 8 bit Green, 8 bit blue [8 bit transparency etc.])
Provided that your numbers are sensibly scaled (0 to 65535), you really won't need anything beyond 16 bit integers.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDenoising and Compression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by