• Docs
  • Learn
  • Community
    Search Results for

      Show / Hide Table of Contents

      Class Threshold

      Represents an operator that applies a fixed threshold to each image in the sequence.

      Inheritance
      Object
      Combinator<IplImage, IplImage>
      Transform<IplImage, IplImage>
      Threshold
      Inherited Members
      Combinator<IplImage, IplImage>.Process(IObservable<IplImage>)
      Object.ToString()
      Object.Equals(Object)
      Object.Equals(Object, Object)
      Object.ReferenceEquals(Object, Object)
      Object.GetHashCode()
      Object.GetType()
      Object.MemberwiseClone()
      Namespace: Bonsai.Vision
      Assembly: Bonsai.Vision.dll
      Syntax
      public class Threshold : Transform<IplImage, IplImage>

      Properties

      | Improve this Doc View Source

      MaxValue

      Gets or sets the value assigned to pixels determined to be above the threshold.

      Declaration
      public double MaxValue { get; set; }
      Property Value
      Type Description
      Double
      | Improve this Doc View Source

      ThresholdType

      Gets or sets the type of threshold to apply to individual pixels.

      Declaration
      public ThresholdTypes ThresholdType { get; set; }
      Property Value
      Type Description
      ThresholdTypes
      | Improve this Doc View Source

      ThresholdValue

      Gets or sets the threshold value used to test individual pixels.

      Declaration
      [Range(0, 255)]
      [Precision(0, 1)]
      public double ThresholdValue { get; set; }
      Property Value
      Type Description
      Double

      Methods

      | Improve this Doc View Source

      Process(IObservable<IplImage>)

      Applies a fixed threshold to each image in an observable sequence.

      Declaration
      public override IObservable<IplImage> Process(IObservable<IplImage> source)
      Parameters
      Type Name Description
      IObservable<IplImage> source

      The sequence of images to threshold.

      Returns
      Type Description
      IObservable<IplImage>

      A sequence of IplImage objects where each non-zero pixel represents a value in the original image that was accepted by the threshold criteria.

      Overrides
      Bonsai.Combinator<OpenCV.Net.IplImage, OpenCV.Net.IplImage>.Process(System.IObservable<OpenCV.Net.IplImage>)
      • Improve this Doc
      • View Source
      In This Article
      Back to top Generated by DocFX