public ImageAndStats(PhysicalImage image, IEnumerable <SegmentAndStats> segments) { Image = image; Segments = segments.ToArray(); }
public ImageSegments(PhysicalImage image, IEnumerable <ImageManipulationInfo> manipulationInfos) { Image = image; ManipulationInfos = manipulationInfos.ToArray(); }
public ImageAndStats(PhysicalImage image, ImageManipulationInfo manipulationInfo, BasicStats stats) : this(image, new [] { new SegmentAndStats(manipulationInfo, stats), }) { }