Duplicate Bounded Region

Duplicate Bounded Region

This option allows a region of one image, bounded by some known intensity contour, to be duplicated to either another location (possibly overlapping) on the same buffer, or to another buffer. This option is very similar to [F Fill bounded region] except that a region of an image is duplicated rather than simply filled with a constant value.

Cursor Positioning: Locate cursor inside defining region

The desired region is specified through a combination of locating a single point within the region, and specifying the intensity of the bounding contour. To locate the start point, the normal cursor submenu is invoked. For more details on the operation of the cursor, see the [H Help] option within the submenu. Note the chosen start point should not have an intensity equal to that of the region boundary.

Intensity for edge of region ?

The edge of the region is defined by some intensity level. All pixels lying on the same side of the bounding intensity level as the starting point, and which are connected to the starting point by similar pixels, will be included in the region.

Search 4 or 8 nearest neighbours ?

This choice determines the degree of connectivity required in defining the region. As each new pixel is added to the region, the routine searches around its four (<4>) or eight (<8>) nearest neighbours to determine if there are any further pixels to be added to the region.

Window Selection: Bounding window for filling

The window selection submenu is produced to specify an outer bound on the region in which the filling is confined. The filling is confined to the intersection between the region satisfying the threshold criterion and the window specified by the window selection submenu. For more information on window specification, consult the [H Help] option within the submenu.

Copy region from what buffer (-1 for current) ?

The region to be duplicate need not be in the same image as defines the shape and position of the region, but may be in any valid frame buffer. This entry specifies which buffer is to be used as the source for the region to be duplicated.

Copy region to what buffer (-1 for current) ?

This entry specifies the buffer to which the duplicated region will be copied. Again it may be any DigImage buffer. A value of -1 will utilise the current output buffer.

Cursor Positioning: Specify destination for region

The cursor submenu is produced to enable the location, in the destination buffer, to which the region is copied to be specified. The location chosen will be the position at which the starting point will be placed.

Parent menu

Main Menu

DigImage User Documentation


Stuart Dalziel, last page update: 19 February 1996