imwrite 12bit data?

10 views (last 30 days)
William Thielicke
William Thielicke on 4 Aug 2021
Commented: Rik on 5 Aug 2021
Hello, I have a camera that gives me grayscale 12bit images. They are quite big, and the framerate is quite high, so I would like to avoid saving 16 bit tiffs from this data (as I am hoping to save some disk space and computing time when saving as 12 bit). Is there a possibility to save 12bit image data without loosing time for converting stuff?
Thanks!!
  3 Comments
William Thielicke
William Thielicke on 5 Aug 2021
That sounds like a great trick, especially, because I am capturing double images anyway... Thanks!
But your comment also tells me that there apparently is no standard 12bit image format.
Rik
Rik on 5 Aug 2021
I'm not aware of any 12-bit standard. There might very well exist one, this method was just the easiest to implement while making sure no data would be lost and all half-decent programs would be able to process the resulting files.

Sign in to comment.

Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!