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

sv_ip_dilate(sv_ip) SunVision IP sv_ip_dilate(sv_ip)

NAME

sv_ip_dilate - morphological filter

DESCRIPTION

The sv_ip_dilate class performs a dilation operation (whatever that is) on its input.

SUPERCLASS

sv_ip_filter

INSTANCE VARIABLES

sel The name of an sv_ip_sel object that can provide a structuring element for the dilation operation.

roi is currently ignored.

MESSAGES

No new messages.

EXAMPLE

sv_ip_display new: car_image data_in=`car_ip' title= `Original data' render! ;

string new: `title' string_format=`Dilation using 1 structuring element' = `cross3x3' ;

environment new: sunvision variable="SUNVISION" ;

string new: sel_dir = [sunvision value?] + "/ip/sel"; string new: `first_sel' = sel_dir + `/' + `cross3x3';

sv_ip_sel new: sel filename= first_sel ;

sv_ip_dilate new: dilate data_in=`car_ip' sel=`sel' ;

sv_ip_display new: image data_in=`dilate' title= title render! ;

motif create!;

motif_file_selection_box new: fsb parent=motif @ `directory' : sel_dir @ `pattern' : "*" ok_action=`render' create! ;

actions new: `render' tick_actions=` sel destroy! filename=[fsb @ `dirSpec' string_value?] ;

title = [fsb @ `dirSpec' string_value?] - [sunvision value?] - `/ip/sel/' ; object # [image window?] store_name: title; image render!; ' ;

motif on! start!;

SEE ALSO

sv_ip_filter, sv_ip, sv_ip_sel, ip_dilate(3), sv_ip_erode


Please send comments and suggestions to
consult@rpi.edu