Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
b2faf8451a
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
32 lines (25 sloc) 1.08 KB
classdef ExrReader < imageIO.ImageIO
%EXRREADER Class that provides reading functionalities for exr data
% This class is a wrapper around the openexr matlab mex files, provided
% here: https://bitbucket.org/edgarv/hdritools
% The C++ code has been modified to fix some bugs and then compiled in
% Matlab R2016b
% Not every exr image can be read using this class. In particular, the
% files available here: https://github.com/openexr/openexr-images/tree/master/TestImages,
% containing data with "exotic" values. More standard images can be
% read without problems
% Author: Stefano.Masneri@brain.mpg.de
% Date: 03.02.2017
% SEE ALSO: exrread, exrinfo, exrreadchannels
properties
end
methods
function obj = ExrReader(filename)
%EXRREADER Constructor of the class
%The constructor calls the constructor of the superclass, and then
%tries to get information about the file using exrinfo.
% Must call explicitly because we pass one argument
obj = obj@imageIO.ImageIO(filename);
end
end
end