diff --git a/getQueryCoordsAffine.m b/getQueryCoordsAffine.m
index 70e8c0750e2c7ad805b0b8524defec315e4e4025..d29670bf5882bf11cfa74243a7dc0777eb5a7276 100644
--- a/getQueryCoordsAffine.m
+++ b/getQueryCoordsAffine.m
@@ -1,4 +1,4 @@
-function [SRXq,SRYq,SRDisp] = getQueryCoordsAffine(LFRef,LFDisp)
+function [SRXq,SRYq,SRDisp,dispParams] = getQueryCoordsAffine(LFRef,LFDisp)
 %GETQUERYCOORDSAFFINE Summary of this function goes here
 %   Detailed explanation goes here
 %%
@@ -74,6 +74,12 @@ for lab = 1:numLab
     SRDisp{lab} = ones(size(SRXq{lab})).*D_;
 end
 
+p00 = cellfun(@(x) x.p00,s);
+p01 = cellfun(@(x) x.p01,s);
+p10 = cellfun(@(x) x.p10,s);
+
+dispParams = [p00;p10;p01];
+
     function progress(msg,varargin)
         persistent sz
         if isempty(sz); sz = 0; end