.. _package-rst-classification: ============================ Package rst.classification ============================ *Not documented* Messages ======== .. container:: mess4ge-multi .. container:: mess4ge-graph .. digraph:: message_graph fontname="Arial"; fontsize=11; stylesheet="../_static/corlab.css"; node [fontsize=11] node [fontname="Arial"] edge [fontsize=11] edge [fontname="Arial"] "6" [label=<
ClassifiedRegion3D
BoundingBox3DFloatregion
ClassificationResultresult
>,shape=box,style=filled,fillcolor="white"]; "7" [label=<
BoundingBox3DFloat
Posetransformation
FLOAT32width
FLOAT32depth
FLOAT32height
>,shape=box,style=filled,fillcolor="white"]; "8" [label=<
Pose
Translationtranslation
Rotationrotation
>,shape=box,style=filled,fillcolor="white"]; "10" [label=<
Rotation
FLOAT64qw
FLOAT64qx
FLOAT64qy
FLOAT64qz
>,shape=box,style=filled,fillcolor="white"]; "9" [label=<
Translation
FLOAT64x
FLOAT64y
FLOAT64z
>,shape=box,style=filled,fillcolor="white"]; "1" [label=<
ClassifiedRegion2D
BoundingBoxregion
ClassificationResultresult
>,shape=box,style=filled,fillcolor="white"]; "4" [label=<
ClassificationResult
OCTET-VECTORdecided_class
ClassWithProbabilityclasses
>,shape=box,style=filled,fillcolor="white"]; "5" [label=<
ClassWithProbability
OCTET-VECTORname
FLOAT32confidence
>,shape=box,style=filled,fillcolor="white"]; "2" [label=<
BoundingBox
Vec2DInttop_left
UINT32width
UINT32height
UINT32image_width
UINT32image_height
>,shape=box,style=filled,fillcolor="white"]; "3" [label=<
Vec2DInt
INT32x
INT32y
>,shape=box,style=filled,fillcolor="white"]; "6":result -> "4" []; "6":region -> "7" []; "7":transformation -> "8" []; "8":rotation -> "10" []; "8":translation -> "9" []; "1":result -> "4" []; "1":region -> "2" []; "4" -> "5" [dir=both,arrowtail=odiamond]; "4":classes -> "5" []; "2":top_left -> "3" []; .. container:: mess4ge-list .. container:: messages * :ref:`ClassifiedRegion2D ` * :ref:`ClassifiedRegion3D ` * :ref:`ClassificationResult ` .. container:: clearer clearer: should be made invisible via css .. _message-rst-classification-classifiedregion2d: Message ClassifiedRegion2D -------------------------- .. container:: message-rst-classification-classifiedregion2d-multi .. container:: message-rst-classification-classifiedregion2d-documentation .. py:class:: rst.classification.ClassifiedRegion2D Focus on image coordinate systems (vision-based). A image region with a classification result. .. codeauthor:: Leon Ziegler .. py:attribute:: region :type: :py:class:`rst.geometry.BoundingBox` Region in the input image. .. py:attribute:: result :type: :py:class:`rst.classification.ClassificationResult` The class represented by the image region. .. container:: message-rst-classification-classifiedregion2d-source :download:`Download this file ` .. literalinclude:: //home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/classification/ClassifiedRegion2D.proto :lines: 15-27 :language: protobuf :emphasize-lines: 6-6,11-11 .. _message-rst-classification-classifiedregion3d: Message ClassifiedRegion3D -------------------------- .. container:: message-rst-classification-classifiedregion3d-multi .. container:: message-rst-classification-classifiedregion3d-documentation .. py:class:: rst.classification.ClassifiedRegion3D Focus on image coordinate systems (vision-based). A region in 3D space with a classification result. .. codeauthor:: Leon Ziegler .. py:attribute:: region :type: :py:class:`rst.geometry.BoundingBox3DFloat` Region in 3D space. .. py:attribute:: result :type: :py:class:`rst.classification.ClassificationResult` The class represented by the 3D region. .. container:: message-rst-classification-classifiedregion3d-source :download:`Download this file ` .. literalinclude:: //home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/sandbox/rst/classification/ClassifiedRegion3D.proto :lines: 15-27 :language: protobuf :emphasize-lines: 6-6,11-11 .. _message-rst-classification-classificationresult: Message ClassificationResult ---------------------------- .. container:: message-rst-classification-classificationresult-multi .. container:: message-rst-classification-classificationresult-documentation .. py:class:: rst.classification.ClassificationResult A class representing the result of a classification process. An example of such a result could be the output of an SVM-based classifier. In the simplest form, only the name of a decided class is given. However, it is also possible to give the whole vector of possible classes with their probabilities. .. codeauthor:: Johannes Wienke .. py:attribute:: decided_class :type: :py:class:`OCTET-VECTOR` A shortcut to get the most likely class easily. This needs to be an ASCII string. .. py:attribute:: classes :type: array of :py:class:`rst.classification.ClassificationResult.ClassWithProbability` The complete vector of classes with their probabilities if suitable. The results in this vector should of cause not contradict decided_class. .. container:: message-rst-classification-classificationresult-source :download:`Download this file ` .. literalinclude:: //home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/stable/rst/classification/ClassificationResult.proto :lines: 17-54 :language: protobuf :emphasize-lines: 8-8,36-36 .. _message-rst-classification-classificationresult-classwithprobability: Message ClassWithProbability ---------------------------- .. container:: message-rst-classification-classificationresult-classwithprobability-multi .. container:: message-rst-classification-classificationresult-classwithprobability-documentation .. py:class:: rst.classification.ClassificationResult.ClassWithProbability TODO .. py:attribute:: name :type: :py:class:`OCTET-VECTOR` Name of the class (ASCII string). .. py:attribute:: confidence :type: :py:class:`FLOAT32` **Unit**: TODO Some kind of confidence, values are application dependent. However, values summing up to 1 are preferred. .. container:: message-rst-classification-classificationresult-classwithprobability-source :download:`Download this file ` .. literalinclude:: //home/jenkins/workspace/rst-manual-0.10-merge-simulator/rst-manual/../rst-proto/proto/stable/rst/classification/ClassificationResult.proto :lines: 29-43 :language: protobuf :emphasize-lines: 6-6,14-14