Reader class for Photron .mraw-Files

版本 1.0.0.0 (4.2 KB) 作者: Markus Lindner
Reads 8 - 16 bit monchrome and color image data from Photron .mraw (and .cih) files
392.0 次下载
更新时间 2017/3/23

查看许可证

mraw.m
MRAW - Read 8 - 16 bit monchrome and color Photron image data as a class
C=MRAW('c:\Photron\Filename') loads video infos from 'c:\Photron\Filename' into class C.
Remarks

This class must be handed the common *.cih and *.mraw file name.
A file extension is not allowed.
his function is intended for color and monochrome 8 to 16 bit *.mraw files.
NOTE: Both the *.cih file and the *.mraw file are utilized
partly adapted from Autor: SEP Creation Date: June 20,2013

Added support for 8 to 16 bit.
Added support for big/little endian bit order.
Added support for variable header information.
Lookup table transformation to 16 bit output.
Included LUT Function to class.
Included Videoplayer with VideoFig from João Filipe Henriques.
Autor: Markus Lindner Creation Date: Feb 24,2017

Added ExtendedInfos from .cih file
Autor: Markus Lindner Creation Date: Mar 23,2017

Examples

Load image 10
C=mraw('c:\Photron\Moviefile');
Image = C.getFrame(10);
Access camera setup Framerate
fRate = C.FrameRate;
Play whole Video with LUT
C = mraw('c:\Photron\Moviefile');
lastImage = C.TotalFrames;
C.makeLut(0,200,1);
for i = 1:lastImage
imshow(C.getFrame_uint8(i))
end
Play whole Video with included Player
C = mraw('c:\Photron\Moviefile');
C.play;

引用格式

Markus Lindner (2024). Reader class for Photron .mraw-Files (https://www.mathworks.com/matlabcentral/fileexchange/62219-reader-class-for-photron-mraw-files), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0