Mentions légales du service

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

Changed warp set functions input

parent e5e7bf5e
Branches
No related tags found
No related merge requests found
function [Val,Lab,Pos,DispX,DispY] = warpHLRASet(Val,Lab,Pos,DispX,DispY,varargin)
function SRSet = warpHLRASet(SRSet,varargin)
%WARPHLRASET Summary of this function goes here
% Detailed explanation goes here
[Val,Lab,Pos,DispX,DispY] = SR.SetToFields(SRSet);
Mask = Lab;
for it = 1:numel(Lab)
......@@ -16,4 +18,6 @@ end
for it = 1:numel(Lab)
Lab{it} = it*double(Mask{it});
end
SRSet = SR.FieldsToSet(Val,Lab,Pos,DispX,DispY);
end
\ No newline at end of file
function [Val,Lab,Pos,DispX,DispY] = warpSet(Val,Lab,Pos,DispX,DispY,varargin)
function SRSet = warpSet(SRSet,varargin)
%WARPSET Summary of this function goes here
% Detailed explanation goes here
[Val,Lab,Pos,DispX,DispY] = SR.SetToFields(SRSet);
Mask = Lab;
for it = 1:numel(Lab)
......@@ -16,4 +18,6 @@ end
for it = 1:numel(Lab)
Lab{it} = it*double(Mask{it});
end
SRSet = SR.FieldsToSet(Val,Lab,Pos,DispX,DispY);
end
\ No newline at end of file
function [Val,Lab,Pos,DispX,DispY] = warpUnwarpSet(Val,Lab,Pos,DispX,DispY,varargin)
function [SRSet,PSNRout] = warpUnwarpSet(SRSet,varargin)
%WARPSET Summary of this function goes here
% Detailed explanation goes here
[Val,Lab,Pos,DispX,DispY] = SR.SetToFields(SRSet);
Mask = Lab;
PSNRout = cell(size(Val));
for it = 1:numel(Lab)
......@@ -16,4 +18,6 @@ end
for it = 1:numel(Lab)
Lab{it} = it*double(Mask{it});
end
SRSet = SR.FieldsToSet(Val,Lab,Pos,DispX,DispY);
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment