kernel generating function
- From: bpederse@xxxxxxxxx
- Date: 13 Jul 2006 15:22:01 -0700
hi, i asked a question here a few days ago and got a good response so i
figured i'd try again:
i want a function that will take in an x and y coordinate and return a
value based on:
1. the distance from the center of the kernel (where i can assume the
center is 0,0 because i normalized the values based on the size of the
kernel before sending them in)
2. the distance from the +/- 45 degree line and +/- 135 degree line.
i will use this function to generate a 2D kernel.
i came up with a function that got me started but it's a major hack and
not exactly what i want. ideally, i'd like this kernel function to have
2 parameters:
1 for how fast the value drops as the distance from the center of the
kernel increases
and another for how fast the value drops as the distance from any of
the (+/- 45 or +/- 135) angles increases.
any pointers appreciated.
thanks,
-brent
.
- Follow-Ups:
- Re: kernel generating function
- From: sndwest
- Re: kernel generating function
- Prev by Date: How to determine phase of m-sequence
- Next by Date: Re: Branch prediction scheme
- Previous by thread: How to determine phase of m-sequence
- Next by thread: Re: kernel generating function
- Index(es):
Relevant Pages
|
|