PixelSpacing.cs 915 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using AI.DiagSystem;
  2. namespace WingAIDiagnosisService.Manage
  3. {
  4. /// <summary>
  5. /// vid pixel to physical deta
  6. /// </summary>
  7. public class PixelSpacing
  8. {
  9. private double _physicalDeltaY = 1.0;
  10. private double _physicalDeltaX = 1.0;
  11. /// <summary>
  12. /// Delta X
  13. /// </summary>
  14. public double PhysicalDeltaX
  15. {
  16. get => _physicalDeltaX;
  17. set => _physicalDeltaX = value;
  18. }
  19. /// <summary>
  20. ///Delta Y
  21. /// </summary>
  22. public double PhysicalDeltaY
  23. {
  24. get => _physicalDeltaY;
  25. set => _physicalDeltaY = value;
  26. }
  27. public PixelSpacing(double physicalDeltaX, double physicalDeltaY)
  28. {
  29. _physicalDeltaX = physicalDeltaX;
  30. _physicalDeltaY = physicalDeltaY;
  31. }
  32. public PixelSpacing()
  33. {
  34. }
  35. }
  36. }