OME::Feature - subsets of an image
The Feature class represents OME features, which are analytic
subdivisions of an image. Often, features will correspond to actual
pixel regions within an image, specified by a coordinate bounds or
image mask. However, this does not have to be the case; features can
be entirely logical divisions in an image. In a practical sense, they
are just used to group attributes which, together, refer to the same
portion of an image, but not to the image a whole.
The features of an image form a tree, with the image
itself at the root. (Features right below the image in the tree will
have undef for their parent feature link.) Features also have a
tag, which allows similar kinds of features (cells, nuclei, etc.) to
be grouped for analysis.
Feature)The following methods are available to Feature in addition to those
defined by the OME::DBObject manpage.
my $name = $feature->name();
$feature->name($name);
Returns or sets the name of this feature.
my $tag = $feature->tag();
$feature->tag($tag);
Returns or sets the tag of this feature.
my $image = $feature->image();
$feature->image($image);
Returns or sets the image that this feature belongs to.
my $parent_feature = $feature->parent_feature();
$feature->parent_feature($parent_feature);
Returns or sets the parent feature of this feature.
my @children = $feature->children();
my $children_iterator = $feature->children();
Returns or iterates, depending on context, the child features of this feature.
Douglas Creager <dcreager@alum.mit.edu>, Open Microscopy Environment, MIT