How to save a 16 bit video file as tiff/avi/...

11 ビュー (過去 30 日間)
Roman
Roman 2018 年 5 月 14 日
コメント済み: Roman 2018 年 5 月 18 日
I want to acquire and save a 16bit video file to open it with ImageJ afterwards. I am using the Image Acquisition Toolbox. This only gives the opportunity to save the file as MJ2 or Archival which are not supported by imageJ. Is there a way to save the video as a tiff or avi without data loss? I am grateful for any advice

回答 (1 件)

Dinesh Iyer
Dinesh Iyer 2018 年 5 月 17 日
Roman, There are a couple things you can try.
Either you can post process the MJ2 video file i.e. read it in using VideoReader and save it as a multi-page TIFF file using IMWRITE or TIFF object. You can also write a sequence of TIFF files.
Use the FramesAcquiredFcn callback of the VIDEOINPUT object used to acquire the video and use IMWRITE or TIFF object to write either a multi-page or sequence of TIFF files.
  1 件のコメント
Roman
Roman 2018 年 5 月 18 日
Thanks for your answer Dinesh Iyer. I have solved the problem by downloading a plugin for ImageJ which allows me to open MJ2 files.

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

Community Treasure Hunt

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

Start Hunting!

Translated by