v clip

From DavinciWiki
Jump to: navigation, search

Description

Remove excess null values from a v_object.

Arguments and Return Values

Arguments: Accepts one v_object and an ignore value

Return Values: Returns a modified v_object

Usage

Syntax: v_clip(src = STRUCT, [ignore = FLOAT])

src - First v_object which will have its values inserted over the dst v_object

ignore - Value that is not data

Examples

dv> a
struct, 7 elements
   data: 500x300x1 array of byte, bsq format [150,000 bytes]
   h: 300
   lines: 0
   samples: 0
   w: 500
   x: 0
   y: 0

dv> v_clip(src=a,ignore=0)

Optional usage where a new structure is created and stored in the variable c

dv> c=v_insert(a,ignore=0)
struct, 5 elements
   x: 50
   y: 50
   h: 199
   w: 399
   data: 399x199x1 array of byte, bsq format [79,401 bytes]

Images

v make1.png v clip.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-20-2006
Modified On: 08-29-2014

Personal tools