ClassesClassesClassesClasses | | | | Operators

shape_histo_pointT_shape_histo_pointShapeHistoPointshape_histo_pointShapeHistoPointShapeHistoPoint (Operator)

Name

shape_histo_pointT_shape_histo_pointShapeHistoPointshape_histo_pointShapeHistoPointShapeHistoPoint — Determine a histogram of features along all threshold values.

Signature

shape_histo_point(Region, Image : : Feature, Row, Column : AbsoluteHisto, RelativeHisto)

Herror T_shape_histo_point(const Hobject Region, const Hobject Image, const Htuple Feature, const Htuple Row, const Htuple Column, Htuple* AbsoluteHisto, Htuple* RelativeHisto)

Herror shape_histo_point(Hobject Region, Hobject Image, const HTuple& Feature, const HTuple& Row, const HTuple& Column, HTuple* AbsoluteHisto, HTuple* RelativeHisto)

HTuple HRegion::ShapeHistoPoint(const HImage& Image, const HTuple& Feature, const HTuple& Row, const HTuple& Column, HTuple* RelativeHisto) const

void ShapeHistoPoint(const HObject& Region, const HObject& Image, const HTuple& Feature, const HTuple& Row, const HTuple& Column, HTuple* AbsoluteHisto, HTuple* RelativeHisto)

HTuple HRegion::ShapeHistoPoint(const HImage& Image, const HString& Feature, Hlong Row, Hlong Column, HTuple* RelativeHisto) const

HTuple HRegion::ShapeHistoPoint(const HImage& Image, const char* Feature, Hlong Row, Hlong Column, HTuple* RelativeHisto) const

void HOperatorSetX.ShapeHistoPoint(
[in] IHUntypedObjectX* Region, [in] IHUntypedObjectX* Image, [in] VARIANT Feature, [in] VARIANT Row, [in] VARIANT Column, [out] VARIANT* AbsoluteHisto, [out] VARIANT* RelativeHisto)

VARIANT HRegionX.ShapeHistoPoint(
[in] IHImageX* Image, [in] BSTR Feature, [in] Hlong Row, [in] Hlong Column, [out] VARIANT* RelativeHisto)

static void HOperatorSet.ShapeHistoPoint(HObject region, HObject image, HTuple feature, HTuple row, HTuple column, out HTuple absoluteHisto, out HTuple relativeHisto)

HTuple HRegion.ShapeHistoPoint(HImage image, string feature, int row, int column, out HTuple relativeHisto)

Description

Like shape_histo_allshape_histo_allShapeHistoAllshape_histo_allShapeHistoAllShapeHistoAll the operator shape_histo_pointshape_histo_pointShapeHistoPointshape_histo_pointShapeHistoPointShapeHistoPoint carries out 255 threshold value operations within RegionRegionRegionRegionRegionregion with the gray values of ImageImageImageImageImageimage. Contrary to shape_histo_allshape_histo_allShapeHistoAllshape_histo_allShapeHistoAllShapeHistoAll only the segmented region containing the pixel (RowRowRowRowRowrow, ColumnColumnColumnColumnColumncolumn) is taken into account here. The entry i in the histogram then corresponds to the number of holes of this region segmented with the threshold i (FeatureFeatureFeatureFeatureFeaturefeature = 'holes'"holes""holes""holes""holes""holes") or the feature value of the region (FeatureFeatureFeatureFeatureFeaturefeature = 'convexity'"convexity""convexity""convexity""convexity""convexity", 'compactness'"compactness""compactness""compactness""compactness""compactness", 'ansisometry'"ansisometry""ansisometry""ansisometry""ansisometry""ansisometry"), respectively.

The histogram can also be displayed directly as a graphic via the operators set_paint(::WindowHandle,'component_histogram':)set_paint(WindowHandle,"component_histogram")SetPaint(WindowHandle,"component_histogram")set_paint(WindowHandle,"component_histogram")SetPaint(WindowHandle,"component_histogram")SetPaint(WindowHandle,"component_histogram") and disp_imagedisp_imageDispImagedisp_imageDispImageDispImage.

Attention

Note that the operator shape_histo_pointshape_histo_pointShapeHistoPointshape_histo_pointShapeHistoPointShapeHistoPoint only considers the given RegionRegionRegionRegionRegionregion and ignores any previously set domain of the input image ImageImageImageImageImageimage.

Parallelization

Parameters

RegionRegionRegionRegionRegionregion (input_object)  region objectHRegionHRegionHRegionHRegionXHobject

Region in which the features are to be examined.

ImageImageImageImageImageimage (input_object)  singlechannelimage objectHImageHImageHImageHImageXHobject (byte)

Gray value image.

FeatureFeatureFeatureFeatureFeaturefeature (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Feature to be examined.

Default value: 'convexity' "convexity" "convexity" "convexity" "convexity" "convexity"

List of values: 'anisometry'"anisometry""anisometry""anisometry""anisometry""anisometry", 'compactness'"compactness""compactness""compactness""compactness""compactness", 'convexity'"convexity""convexity""convexity""convexity""convexity", 'holes'"holes""holes""holes""holes""holes"

RowRowRowRowRowrow (input_control)  point.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Row of the pixel which the region must contain.

Default value: 256

Suggested values: 10, 50, 100, 200, 300, 400

ColumnColumnColumnColumnColumncolumn (input_control)  point.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Column of the pixel which the region must contain.

Default value: 256

Suggested values: 10, 50, 100, 200, 300, 400

AbsoluteHistoAbsoluteHistoAbsoluteHistoAbsoluteHistoAbsoluteHistoabsoluteHisto (output_control)  histogram-array HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Absolute distribution of the feature.

RelativeHistoRelativeHistoRelativeHistoRelativeHistoRelativeHistorelativeHisto (output_control)  histogram-array HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Relative distribution of the feature.

Result

The operator shape_histo_pointshape_histo_pointShapeHistoPointshape_histo_pointShapeHistoPointShapeHistoPoint returns the value 2 (H_MSG_TRUE) if an image with defined gray values is entered. The behavior in case of empty input (no input images available) is set via the operator set_system(::'no_object_result',<Result>:)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>), the behavior in case of empty region is set via set_system(::'empty_region_result',<Result>:)set_system("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>)set_system("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>)SetSystem("empty_region_result",<Result>). If necessary an exception is raised.

Possible Predecessors

get_mbuttonget_mbuttonGetMbuttonget_mbuttonGetMbuttonGetMbutton, area_centerarea_centerAreaCenterarea_centerAreaCenterAreaCenter

Possible Successors

histo_to_threshhisto_to_threshHistoToThreshhisto_to_threshHistoToThreshHistoToThresh, thresholdthresholdThresholdthresholdThresholdThreshold, gen_region_histogen_region_histoGenRegionHistogen_region_histoGenRegionHistoGenRegionHisto

Alternatives

shape_histo_allshape_histo_allShapeHistoAllshape_histo_allShapeHistoAllShapeHistoAll

See also

connectionconnectionConnectionconnectionConnectionConnection, connect_and_holesconnect_and_holesConnectAndHolesconnect_and_holesConnectAndHolesConnectAndHoles, convexityconvexityConvexityconvexityConvexityConvexity, compactnesscompactnessCompactnesscompactnessCompactnessCompactness, set_paintset_paintSetPaintset_paintSetPaintSetPaint

Module

Foundation


ClassesClassesClassesClasses | | | | Operators