Help for SUPERRES
PURPOSE:
To combine many images into a larger image which can be processed to give
super resolution.
EXECUTION:
register2 inp=listoffiles out=tiepoints
superres inp=(listoffiles,tiepoints) out=superimage
( & optionally ...)
filter2 inp=superimage out=evenbettersuperimage nlw=15 nsw=15 mtf=(1.,0.,5.,.35,5.,.5)
where:
Listoffiles is an ascii list of filenames, one per record.
Tiepoints is an ascii list of tiepoints created by vicar program REGISTER2.
METHOD:
1. Superres reads the image and tiepoints file.
It creates polynomials from the tiepoints mapping each input to the output.
2. An output is created SCALE times the inputs in size.
3. For each output pixel..
4. All the nearest input pixels are identified (4 per input image).
5. These pixel centers are mapped to the output sub pixel location.
6. output_dn=sum(dn_in/r_in**2)/sum(1/r_in**2)
where r_in is the distance between the input pixels mapped to the output
and the output pixel location.
HISTORY:
3-1-99 J Lorre.
COGNIZANT PROGRAMMER: Jean Lorre
PARAMETERS:
INP
1. Filenames list.
2. Tiepoints list.
OUT
Superesolution image.
SCALE
Image magnification
factor.
RESOLUTION
Output pixel resolution.
MODE
1 = offset only
2 = 1st order polynomial
See Examples:
Cognizant Programmer: