diff --git a/warpHLRASet.m b/warpHLRASet.m
index fe084594a21e5badaf3991cdb2a1dba5f22b13c2..7eefae785ae9e48fc54dab46039c525b04f424cb 100644
--- a/warpHLRASet.m
+++ b/warpHLRASet.m
@@ -1,7 +1,9 @@
-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
diff --git a/warpSet.m b/warpSet.m
index 886cfc0e1364d3484ebcdf7688ba631b16c94fff..4f57cbe28e257809455e2263017fb3a67786ba61 100644
--- a/warpSet.m
+++ b/warpSet.m
@@ -1,7 +1,9 @@
-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
diff --git a/warpUnwarpSet.m b/warpUnwarpSet.m
index 939537f226ebc341a9801eeeec6c058248967d86..432d665c88423574767df7bdd6712e1a00a64df7 100644
--- a/warpUnwarpSet.m
+++ b/warpUnwarpSet.m
@@ -1,7 +1,9 @@
-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