<<<<<<<<<<<<<<<<<

sv_ip_divide(sv_ip) SunVision IP sv_ip_divide(sv_ip)

NAME

sv_ip_divide - divide one input image by another

DESCRIPTION

The sv_ip_divide object performs pixel-by-pixel division of one input image by another. If division by zero is detected, the corresponding output pixel is set to the maximum value and the divide_by_zero instance variable is set to one.

SUPERCLASS

sv_ip_filter

INSTANCE VARIABLES

divide_by_zero is set to one if a divide-by-zero is detected.

roi

MESSAGES

message1= arg1 arg2 etc describe your message and its arguments here. Be sure to include any special considerations that the user should know about. (Now repeat the .TP line, the .BI line and the description lines for the rest of your messages.)

EXAMPLE

<sv-ip-constants sv_ip_copy new: __pet_float data_in=`pet_byte_256' data_type=ipFLOAT ;

sv_ip_copy new: __mr_float data_in=`mr_ip' data_type=ipFLOAT ;

sv_ip_add_const new: _non_zero data_in=`__mr_float' constant=1 ;

sv_ip_divide new: `d' data_in=(`__pet_float', `_non_zero');

sv_ip_display new: display0 data_in=`d' title=`Pet image / MR image' render!

;

sv_ip_rescale new: `d_rescaled' data_in=`d' src_min=0 src_max=3 dst_min=0 dst_max=255 ;

sv_ip_display new: display data_in=`d_rescaled' title=`Pet image / MR image (rescaled)' render! ;

SEE ALSO

sv_ip_filter, sv_ip, sv_ip_multiply, ip_divide(3)


Please send comments and suggestions to
consult@rpi.edu