Information about the input image objects last used.
The operator obj_info provides information about the image objects last used. Currently only one request is supported (Request = 'last_used_object'). The procedure returns the input image objects used by the procedure last carried out at the parameter positions ParameterNumber. This information is particularly useful if the cause (or the exact time, respectively) of an "exception" which occurred during processing of a tuple of image objects has to be detected. The index (in the input tuple) and the surrogate are returned. The parameter positions are 1 ... n, i.e. the numbering starts with 1 (not with 0). The result of obj_info is influenced only by procedures having input object parameters. If meanwhile a procedure without input object parameter is called the operator obj_info returns the same value. If no objects have been accessed so far 'none' is returned (e.g. after init_horus).
ParameterNumber (input_control) |
integer(-array) -> integer |
Positions of the input object parameters to be examined. | |
Default value: 1 |
Request (input_control) |
string -> string |
Desired request. | |
Default value: 'last_used_object' | |
Suggested values: 'last_used_object' |
Information (output_control) |
string(-array) -> string / integer |
Index of last used input image object or 'none'. |
init_horus(::512,512,3:) > obj_info(::1,'last_used_object':I1) > read_image(:X:'affe':) > obj_info(::1,'last_used_object':I2) > mean__(X:Y:3,3:) > obj_info(::1,'last_used_object':I3). /* Result: I1 = 'none' I2 = 'none' I3 = 1 */
obj_info always returns the value TRUE.