sawtooth

From DavinciWiki
Jump to: navigation, search


Description

Creates a sawtooth filter kernel of size x by y by z

Arguments and Return Values

Arguments: Dimensions of desired kernel [x,y,z]

Return Value: A float bsq array

Usage

Syntax: sawtooth(x = INT, y = INT, z = INT)

The integral of the kernel must equal the number of elements for any of the convolve functions to function properly.

Examples

dv> kern = sawtooth(1,21,1)
1x21x1 array of float, bsq format [84 bytes]
0.173554
0.347107
0.520661
0.694215
0.867769
1.04132
1.21488
1.38843
1.56198
1.73554
1.90909
1.73554
1.56198
1.38843
1.21488
1.04132
0.867769
0.694215
0.520661
0.347107
0.173554

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 09-22-2010

Personal tools