nstretch

From DavinciWiki
(Redirected from Nstretch)
Jump to: navigation, search


Description

Perform a normalized stretch

image = 255*((data - min_of_data)/(max_of_data - min_of_data))

Arguments and Return Values

Arguments: Any numeric array

Return Value: A byte array

Usage

Syntax: nstretch(image)

Examples

dv> a1
400x300x6 array of float, bsq format [2,880,000 bytes]

dv> b=nstretch(a1)
400x300x6 array of byte, bsq format [720,000 bytes]

Images

nstretch.png

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: 01-17-2008

Personal tools