CImage:KwdSetSect
The KwdSetSect method formats a region section keyword and inserts it into the image header. An example of a region section keyword is BIASSEC, which has the format'[c1:c2,r1:r2]'.
CImage:KwdSetSect( sKwd, c1,c2,r1,r2 ) |
sKwd is the keyword name
c1, c2, r1, and r2 are the components to be written.
The region section is a string-value keyword with a special format. This method formats the 4 components into a region section string and then writes the string to the header. If the keyword name already exists, its value is overwritten by the new value.
Suppose a CImage named I exists. The following script sets the BIASSEC keyword to the region string '[1024:1043,1038:1050]':
|
-- column bounds |
|
-- row bounds |
|
-- set the FILTER keyword |
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.