do coreg2

From DavinciWiki
Jump to: navigation, search

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