blendx

From DavinciWiki
Jump to: navigation, search

Description

Used to blend two images of equal x and y dimension together only in x-direction. They must be in v_object form. Primarily used in mosaics.

Arguments and Return Values

Arguments: Two v_objects containing geometrically overlapping data to be blended together, a value designating the number of pixels from the edge of the data to blend and the numeric value of non-data points.

Return Value: The second v_object of the inputs will be altered containing a blended composite of the two input images.

Usage

Syntax: blendx(src, dst [, ignore = VAL])

src - A v_object structure containing the image you wish to add to the other image.

dst - A v_object structure that will have the src image added to it.

ignore - The value of 'blank' pixels in the data. The numeric value of black space.


The data elements of the two v_objects need not be the same size.

There may be residual difference between images on the tops and bottoms of individual images.

Examples

 dv> out
 struct, 7 elements
     x: -736
     y: 44521
     w: 1441
     h: 2141
     lines: 0
     samples: 0
     data: 1441x2141x1 array of short, bsq format [6,170,362 bytes]

 dv> d
 struct, 7 elements
     x: -314
     y: 44530
     w: 1018
     h: 2141
     lines: 0
     samples: 0
     data: 1018x2141x1 array of short, bsq format [4,359,076 bytes]

 dv> blend(src=d, dst=out, ignore=ignore)

 dv>

Images

blendpic1.png blendpic2.png blendpic3.png

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: 03-23-2006

Personal tools