Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f9857231 authored by DIB Elian's avatar DIB Elian
Browse files

Cleaned a bit

parent 6fd5fb69
Branches master
No related tags found
No related merge requests found
...@@ -2,12 +2,12 @@ function frames = convert(frames,varargin) ...@@ -2,12 +2,12 @@ function frames = convert(frames,varargin)
%CONVERT Summary of this function goes here %CONVERT Summary of this function goes here
% Detailed explanation goes here % Detailed explanation goes here
[~,defBitDepth] = utils.precision(class(frames{1})); [~,bitDepth] = utils.precision(class(frames{1}));
p = inputParser; p.StructExpand = true; p.KeepUnmatched = true; p = inputParser; p.StructExpand = true; p.KeepUnmatched = true;
p.addOptional('outColSpace' , 'ycbcr' , @ischar); p.addOptional('outColSpace' , 'ycbcr' , @ischar);
p.addOptional( 'inColSpace' , 'rgb' , @ischar); p.addOptional( 'inColSpace' , 'rgb' , @ischar);
p.addOptional( 'bitDepth' , defBitDepth , @isnumeric); p.addOptional( 'bitDepth' , bitDepth , @isnumeric);
p.parse(varargin{:}); p.parse(varargin{:});
inColSpace = p.Results.inColSpace; inColSpace = p.Results.inColSpace;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment