
where,Horizontal = A - B + Addback Vertical = A - C + Addback Diagonal = A - D + Addback
and,A, B, C and D are pixels adjacent to each other in the image --------- | A | B | ----+---- | C | D | ---------
Addback is either a user specified constant or a default value used to ensure that positive unsigned 8-bit numbers are generated if the input is unsigned 8-bit, or to center the output DN range somewhere else than zero if the input file is 16 or 32-bit.
![[Example Image]](b6ss.gif)
![[Example Image]](deriveh.gif)
![[Example Image]](derivev.gif)
|
U.S. Department of the Interior |
U.S. Geological Survey |
Jobs
Home | Search | Disclaimers & Privacy Web Rings Send comments to webman@TerraWeb.wr.usgs.gov URL: Last Modified: Thu Oct 31 15:08:24 MST 2002 |