BlueSpray - Help
© SchoonerTurtles, Inc. 2012-2015

Introduction
Contents
Getting Started
Download
Navigating
Tutorials
Scripting
Advanced
About

Class STMatrix

Extends STSample

Perform an NxN matrix on a raster
Good resource: http://lodev.org/cgtutor/filtering.html


Copyright, SchoonerTurtles LLP, 2009
@author Jim Graham

Enumerated Types

MATRIX_TYPE
    CUSTOM - Create your own matrix
    SMOOTH_A_LOT - Blurs the raster
    SMOOTH_A_LITTLE - Just smooths out sharp changes
    SHAPREN_A_LITTLE - Sharpens gradual changes a bit
    SHARPEN_A_LOT - Acentuates gradual changes a lot
    EDGE_DETECT - Extreme sharpening to find edges

Static Functions

ReturnsFunctionThrows
STRaster Apply(STRaster TheInput,int MatrixWidth,MATRIX_TYPE Type) Exception

Static Functions


STRaster Apply(STRaster TheInput,int MatrixWidth,MATRIX_TYPE Type) Exception

Apply the specified matrix width and type to the input raster without resizing
the raster.

Parameters:
    TheInput - STRaster to start width
    MatrixWidth - width of the desired matrix (3,5,7, or 9)
    Type - Type of matrix to apply (CUSTOM, SMOOTH_A_LITTLE, etc.)
Returns: - returns a new raster that has had the matrix applied
Throws: Exception