GrayscaleFiltration Свойство (ImageSmoothingCommand)
Возвращает или задает значение, указывающее, должна ли команда преобразовывать исходное изображение в изображение в оттенках серого перед фильтрацией спектра изображения.
[DefaultValue(False)]
[Description("A value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.")]
public bool GrayscaleFiltration { get; set; }
[DefaultValue(False)]
[Description("A value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.")]
public: __property bool get_GrayscaleFiltration();
public: __property void set_GrayscaleFiltration(
bool
);
[DefaultValue(False)]
[Description("A value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.")]
public:
property bool GrayscaleFiltration {
bool get();
void set(bool );
}
'Declaration
<DefaultValueAttribute(False)>
<DescriptionAttribute("A value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.")>
Public Property GrayscaleFiltration As Boolean
Property Value
True - команда должна преобразовать исходное изображение в изображение в оттенках серого перед фильтрацией спектра изображения. Команда выполняет фильтрацию по одному каналу.
false - команда не должна изменять исходное изображение перед фильтрацией спектра изображения. Команда выполняет фильтрацию по всем каналам исходного изображения.
Значение по умолчанию - false.
Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5