GrayscaleFiltration Property (ImageSharpeningCommand)
Gets or sets a value indicating whether the command must convert the source image to the grayscale image before the image spectrum filtering.
[DefaultValue(True)]
[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(True)]
[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(True)]
[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(True)>
<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 - the command must convert the source image to the grayscale image before the image spectrum filtering. Command performs filtering on a single channel.
false - the command must not change the source image before the image spectrum filtering. Command performs filtering on all channels of the source image.
Default value is true.
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5