This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
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?
ImageIO/+imageIO/@ExrReader/exrinfo.m
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20 lines (19 sloc)
910 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function exrinfo( filename ) | |
%EXRINFO Read metadata from the header of an OpenEXR image. | |
% INFO = EXRINFO(FILENAME) reads the header of the given OpenEXR | |
% file and returns a struct with the following fields: | |
% channels - a cell array with the names of the image channels. | |
% size - Matlab-style size of the image: it is an 1x2 matrix | |
% equivalent to [height, width]. | |
% attributes - a containters.Map object with the full, raw | |
% attributes from the file. Note that it will | |
% only contain those attributes for which a Matlab | |
% conversion is avaiable. | |
% | |
% Note: this implementation uses the ILM IlmImf library version 1.7. | |
% | |
% See also CONTAINERS.MAP,EXRREAD,EXRREADCHANNELS | |
% Edgar Velazquez-Armendariz (eva5@cs.cornell.edu) | |
% | |
% (The help system uses this file, but actually doing something with it | |
% will employ the mex file). |