extern KADMOS_ERROR KADMOS_API rel_lineshadow (RelData *reldata, unsigned char **vertical_shadow);
reldata
RelData
. With this structure rel_do()
had to be called
before, with the parameter TYPO_KEEPIMG
set.vertical_shadow
rel_do()
.RE_SUCCESS or KADMOS error type.
Before calling rel_lineshadow()
, rel_do()
had to be called with the parameter TYPO_KEEPIMG
set. Under shadow a pointer is delivered with the address of a data field containing the results of the hand/machine
pre-classification of the given image. The values projection[0]
and projection[1]
describe
begin and end of the shadow. The returned area has the data type unsigned char, the related shadow positions refer directly
to the columns of the given image. The bits SHADOW_FONT_HAND
and SHADOW_FONT_MACHINE
contain the
results of the pre-classification. If only this information is needed, the the parameter GENERAL_LINESHADOW_ONLY
can be set for the previous call of rel_do()
. Then no character recognition is performed.