mul
The mul function multiples the pixels of a CImage object or 1-dimensional array by a value.
result = mul( object, value )
where object is a 1-dimensional array, CImage object, or simple number.
value is a number.
result is returned as an array, CImage object, or number, depending on the type of value.
The following script multiplies the members of a table by 3200.5.
|
-- multiply the object by the value |
The next script multiplies all pixels of a CImage by 3200.5.
|
-- attach the topmost image window |
|
-- make sure an image window is on top |
|
-- multply the CImage by the value |
Table and Array Functions, muln
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.