31 references to ResizingKind
Microsoft.ML.ImageAnalytics (29)
ImageResizer.cs (26)
46public ImageResizingEstimator.ResizingKind? Resizing;
82public ImageResizingEstimator.ResizingKind Resizing = ImageResizingEstimator.Defaults.Resizing;
123/// <param name="resizing">What <see cref="ImageResizingEstimator.ResizingKind"/> to use.</param>
124/// <param name="cropAnchor">If <paramref name="resizing"/> set to <see cref="ImageResizingEstimator.ResizingKind.IsoCrop"/> what anchor to use for cropping.</param>
127ImageResizingEstimator.ResizingKind resizing = ImageResizingEstimator.ResizingKind.IsoCrop,
206var scale = (ImageResizingEstimator.ResizingKind)ctx.Reader.ReadByte();
207Host.CheckDecode(Enum.IsDefined(typeof(ImageResizingEstimator.ResizingKind), scale));
244Contracts.Assert((ImageResizingEstimator.ResizingKind)(byte)col.Resizing == col.Resizing);
312ImageResizingEstimator.ResizingKind.IsoPad => ImageResizeMode.Pad,
313ImageResizingEstimator.ResizingKind.IsoCrop =>
322ImageResizingEstimator.ResizingKind.Fill => ImageResizeMode.Fill,
364/// <seealso cref="ImageEstimatorsCatalog.ResizeImages(TransformsCatalog, string, int, int, string, ResizingKind, Anchor)"/>
369public const ResizingKind Resizing = ResizingKind.IsoCrop;
428/// <summary>What <see cref="ResizingKind"/> to use (uniform, or non-uniform).</summary>
429public readonly ResizingKind Resizing;
431/// <summary>If <see cref="Resizing"/> set to <see cref="ResizingKind.IsoCrop"/> what anchor to use for cropping.</summary>
444/// <param name="resizing">What <see cref="ImageResizingEstimator.ResizingKind"/> to use.</param>
445/// <param name="anchor">If <paramref name="resizing"/> set to <see cref="ImageResizingEstimator.ResizingKind.IsoCrop"/> what anchor to use for cropping.</param>
450ResizingKind resizing = Defaults.Resizing,
456Contracts.CheckUserArg(Enum.IsDefined(typeof(ResizingKind), resizing), nameof(resizing));
477/// <param name="resizing">What <see cref="ResizingKind"/> to use.</param>
478/// <param name="cropAnchor">If <paramref name="resizing"/> set to <see cref="ResizingKind.IsoCrop"/> what anchor to use for cropping.</param>
484ResizingKind resizing = Defaults.Resizing,
Microsoft.ML.Tests (2)