public ImageDuplicatorDefinition(TestSequence testSequence) : base(testSequence) { mDuplicateImage = new GeneratedImageDefinition(testSequence, OwnerLink.newLink(this, "ResultantImage")); mDuplicateImage.AddDependency(this); mDuplicateImage.Name = "Copy of image"; }
public ImageCropDefinition(TestSequence testSequence) : base(testSequence) { mCroppedImage = new GeneratedImageDefinition(testSequence, OwnerLink.newLink(this, "ResultantImage")); mCroppedImage.AddDependency(this); mCroppedImage.Name = "cropResult"; }
public CameraSnapshotDefinition(TestSequence testSequence) : base(testSequence) { mSnapshotImage = new GeneratedImageDefinition(testSequence, OwnerLink.newLink(this, "ResultantImage")); mSnapshotImage.AddDependency(this); mSnapshotImage.Name = "snapshotResult"; bufferForWorker = new byte[bufferSize]; testSequence.TriggerRegistry.RegisterObject(this); }
public IntensityVariationDefinition(TestSequence testSequence) : base(testSequence) { mResult = new GeneratedValueDefinition(testSequence, OwnerLink.newLink(this, "Result")); mResult.Type = DataType.IntegerNumber; mResult.AddDependency(this); mResult.Name = "IntensityVariation"; mMarkedImage = new GeneratedImageDefinition(testSequence, OwnerLink.newLink(this, "MarkedImage")); mMarkedImage.AddDependency(this); mMarkedImage.Name = "IntensityVariationImage"; }
public PatternMatchOfAvgGrayVariationDefinition(TestSequence testSequence) : base(testSequence) { mResult = new GeneratedValueDefinition(testSequence, OwnerLink.newLink(this, "Result")); mResult.Type = DataType.IntegerNumber; mResult.AddDependency(this); mResult.Name = "DifferenceScore"; //TODO: ConstantImage to hold "average" image of pattern...along with red pixels to show what won't be matched (diff range outside of threshold) mMarkedImage = new GeneratedImageDefinition(testSequence, OwnerLink.newLink(this, "MarkedImage")); mMarkedImage.AddDependency(this); mMarkedImage.Name = "IntensityVariationImage"; }
public IntensityVariationOverRectangleDefinition(TestSequence testSequence) : base(testSequence) { // // TODO: Add constructor logic here // mResult = new GeneratedValueDefinition(testSequence, OwnerLink.newLink(this, "Result")); mResult.Type = DataType.IntegerNumber; mResult.AddDependency(this); mResult.Name = "IntensityVariation"; mMarkedImage = new GeneratedImageDefinition(testSequence, OwnerLink.newLink(this, "MarkedImage")); mMarkedImage.AddDependency(this); mMarkedImage.Name = "IntensityVariationImage"; }
public ImageSmootherDefinition(TestSequence testSequence) : base(testSequence) { mSmoothedImage = new GeneratedImageDefinition(testSequence, OwnerLink.newLink(this, "ResultantImage")); mSmoothedImage.AddDependency(this); mSmoothedImage.Name = "smoothed"; }
public GeneratedImageInstance(GeneratedImageDefinition theDefinition, TestExecution testExecution) : base(theDefinition, testExecution) { }