do coreg2

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
m (Do coreg2 moved to do coreg2)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{DavinciWiki_Function|
 
{{DavinciWiki_Function|
Calculate the x and y offset values needed to coregister two [[v-object]]s.
+
Calculate the x and y offset values needed to coregister two [[v_object]]s.
 
   
 
   
 
do_coreg2() differs from [[do_coreg]] in that it uses a different coregistration algorithm.  do_coreg2() allow the user to search up to several hundred pixels.
 
do_coreg2() differs from [[do_coreg]] in that it uses a different coregistration algorithm.  do_coreg2() allow the user to search up to several hundred pixels.
Line 8: Line 8:
 
Return Value: A 2x1x1 array with x and y coregistration values.  The source v-object .x and .y values are changed.
 
Return Value: A 2x1x1 array with x and y coregistration values.  The source v-object .x and .y values are changed.
 
|
 
|
Syntax: do_coreg2(src,dst,ignore,search,factor)
+
[[Syntax]]: do_coreg2(src, dst [, ignore = VAL] [, search = INT] [, factor = INT])
 
   
 
   
 
'src' is a v-object created by [[v_make]], containing the image you wish to add to the destination image.
 
'src' is a v-object created by [[v_make]], containing the image you wish to add to the destination image.
Line 26: Line 26:
 
*[[v_intersect]]
 
*[[v_intersect]]
 
*[[v_cut]]
 
*[[v_cut]]
*[[kjn.coreg2]]
 
 
|
 
|
 
*[[do_coreg]]
 
*[[do_coreg]]
|
+
|*mosaic_tools.dvrc
[[Media:do_coreg2.dvrc|do_coreg2()]]
+
 
|
 
|
 
}}
 
}}

Latest revision as of 13:31, 14 May 2013


Description

Calculate the x and y offset values needed to coregister two v_objects.

do_coreg2() differs from do_coreg in that it uses a different coregistration algorithm. do_coreg2() allow the user to search up to several hundred pixels.

Arguments and Return Values

Arguments: A source and destination v-object and ignore value, a search radius and a speed factor

Return Value: A 2x1x1 array with x and y coregistration values. The source v-object .x and .y values are changed.

Usage

Syntax: do_coreg2(src, dst [, ignore = VAL] [, search = INT] [, factor = INT])

'src' is a v-object created by v_make, containing the image you wish to add to the destination image.

'dst' is a v-object created by v_make, containing the image to which the 'src' image will be added.

'ignore' is the non-valid data value in the v_objects. Default is -32768.

'search' is the maximum number of pixels in x and y to search for the best coregistration value.

'factor' is a number designating the speed of the search.

By picking a 'factor' number the user is telling the algorithm to use only points from every factor number of points. For example: 'factor = 100' tells the algorithm to use every 100th line in the calculation of coregistration. This significantly speeds up operation but significantly decreases signal to noise which is very important in determining the exact best coregistration value. In general, a 'factor' value should be on the same order as the 'search' value.


DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 02-15-2006
Modified On: 05-14-2013

Personal tools