< Previous | Contents | Next >
Process
Process() is where the image processing, control and calculations happen. Images, variables, text and numbers from the UI controls are input into the Process function. There are a number of core functions and processes available to manipulate images and pixels.
Image Processing FunctionBlendOfSummaryUsageExampleBlurSummaryUsagedest_image (image, optional)options (table, required)Options TableChannelOpOfSummaryUsageoptions (table, required)Options TableCopyOfSummaryUsageCSConvertSummaryUsageExampleErodeDilateSummaryUsagedest_image (image, optional)options (table, required)Options TableFillSummaryUsageGammaSummaryUsagenumber r, g, b, a (number, required)GainSummaryUsagenumber r, g, b, a (number, required)GetCanvasColorSummaryUsagePixelGetPixelSummaryUsageX_positionY_positionPixelExampleImageSummaryUsageimage_attributesImage AttributesExampleTips for Image ConstructorMergeSummaryUsageattributes (table, required)MergeOfSummaryUsageattributes (table, required)ExampleMultiProcessPixelsSummaryUsageglobalenv (table, required)x_start, y_start, x_end, y_end (integer, required)source_image (image, required)ExampleOMergeSummaryUsageforeground (image, required)x_offset, y_offset (number, optional)OXMergeSummaryUsageforeground (image, required)x_offset, y_offset (number, optional)ResizeSummaryUsageattributes (table, required)RecycleSATSummaryUsageSamplePixelBSummaryUsageSamplePixelDSummaryUsageSamplePixelWSummaryUsageSampleAreaBSummaryUsagex1, x2, x3, x4 (number, required)y1, y2, y3, y4 (number, required)SampleAreaDSummaryUsageSampleAreaWSummaryUsagex1, x2, x3, x4 (number, required)y1, y2, y3, y4 (number, required)SaturateSummaryUsagenumber r, g, b (number, required)ExampleSetCanvasColorSummaryUsagepixelSetPixelSummaryUsagex_positiony_positionpixelExampleTransformSummaryUsagedest_image (image, required)taglist (table, required)ReturnExampleUseSATSummaryUsageRequestDomain of DefinitionPixelColorMatrixFullSummaryUsageExampleUsing the ColorMatrixIntroductionThe Math of the MatrixUsing MethodsEditing the MatrixApplying the matrix
< Previous | Contents | Next >