Path: news.mathworks.com!newsfeed-00.mathworks.com!nlpi057.nbdc.sbc.com!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!a7g2000yqk.googlegroups.com!not-for-mail
From: hajoura <fradi.hajer@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: delaunay
Date: Fri, 24 Apr 2009 01:58:43 -0700 (PDT)
Organization: http://groups.google.com
Lines: 37
Message-ID: <495b7f4c-89e1-4b33-a1dc-312f72290749@a7g2000yqk.googlegroups.com>
References: <ae08d7b0-bcc0-4d20-bc6d-0e1d48c936db@c12g2000yqc.googlegroups.com> 
	<c9e58d8c-3df9-4e99-8a84-ce62a4a432db@f19g2000yqo.googlegroups.com> 
	<gsrtat$3eg$1@fred.mathworks.com>
NNTP-Posting-Host: 193.55.113.196
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1240563524 20221 127.0.0.1 (24 Apr 2009 08:58:44 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 24 Apr 2009 08:58:44 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: a7g2000yqk.googlegroups.com; posting-host=193.55.113.196; 
	posting-account=snChtQoAAAAjuLUD1r4wyWJnJoeZWnwu
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; 
	FunWebProducts; GTB5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET 
	CLR 3.0.04506; InfoPath.2; InfoPath.1),gzip(gfe),gzip(gfe)
Bytes: 2503
Xref: news.mathworks.com comp.soft-sys.matlab:535147


ok,
i'm trying to use triangulation of delaunay to achieve super
resolution.
i read article "High Resolution Image Formation From Low Resolution
Frames Using Delaunay Triangulation".after that, i find  the
implementation of this method in
http://www.tsi.enst.fr/tsi/enseignement/ressources/mti/delaunay/delaunay_imprimable.pdf,
in this paper, they start with high resolution image , than they
undersampled this image, they obtain 5 low resoltion images.
lt = lr1 + lr2 + lr3 + lr4 + lr5; It contain the  information from the
5 images
after that, they use  the function delaunay;
i didn't understand also why they use meshgrid
For me, i want to use only 2 undersampled image
my code:
img=imread('----------');
i1=1;
j1=1;
i2=3;
j2=3;
M=M/4
N=N/4
%undersampling the image
im1(i1:1:M,j1:1:N)=img(i1:4:4*M,j1:4:4*N);
im2(i1:1:M,j1:1:N)=img(i2:4:4*M,j2:4:4*N);

image=im1+im2;
image=image(:)';
i1=1;
j1=1;
[X_1,Y_1]=meshgrid(i1:4:4*M, j1:4:4*N);
X1=X_1(:)';
Y1=Y_1(:)';
TRID=delaunay3(X1, Y1, image, {'QJ'});

So, two questions 1)why we use meshgrid in this case?
                           2)why the function delaunay3 work ?