PhotoColorCorrectCommand Class |
Specifically, Red, Green, Blue and Yellow can be enhanced or reduced by setting the corresponding effects properties to values >1 for enhancing and <1 for reducing. In all cases the overall tone and contrast of the image is preserved and only the color component of the image is altered.
This command is excellent for removing specific color casts or creating a slightly different effect in an image by changing the relative balance of colors.
It can also be used as a customized color enhancement filter by manually setting the values of the 4 color effect properties to increase the overall color of the image. This is similar to the underlying component of the Automatic Color Correction filters.
Namespace: Atalasoft.Imaging.ImageProcessing.Effects
The PhotoColorCorrectCommand type exposes the following members.
Name | Description | |
---|---|---|
PhotoColorCorrectCommand |
Initializes a new instance of the PhotoColorCorrectCommand class.
| |
PhotoColorCorrectCommand(SerializationInfo, StreamingContext) |
Initializes a new instance of the PhotoColorCorrectCommand class with serialized data.
| |
PhotoColorCorrectCommand(Double, Double, Double, Double) |
Initializes a new instance of the PhotoColorCorrectCommand class with values of effect on red, breen, blue, and yellow colors.
|
Name | Description | |
---|---|---|
ApplyToAnyPixelFormat | Reports whether or not this command will be applied to any supplied PixelFormat image (Inherited from ImageCommand.) | |
BlueEffect |
Gets or sets effect on the Blue color in the supplied image.
| |
CanApplyToAnyPixelFormat | Returns true if the command can be applied to any PixelFormat. (Inherited from ImageCommand.) | |
GreenEffect |
Gets or sets effect on the Green color in the supplied image.
| |
InPlaceProcessing | Gets a value indicating if the source image data is processed in-place as opposed to returning a new
image. (Overrides PhotoColorCorrectCommandBaseInPlaceProcessing.) | |
LLBlueEffect |
Gets or sets effect on the Blue color in the supplied image.
(Inherited from PhotoColorCorrectCommandBase.) | |
LLGreenEffect |
Gets or sets effect on the Green color in the supplied image.
(Inherited from PhotoColorCorrectCommandBase.) | |
LLRedEffect |
Gets or sets effect on the Red color in the supplied image.
(Inherited from PhotoColorCorrectCommandBase.) | |
LLYellowEffect |
Gets or sets effect on the Yellow color in the supplied image.
(Inherited from PhotoColorCorrectCommandBase.) | |
Progress | Gets or sets the ProgressEventHandler delegate which can be used to view or cancel the
progress of the current process. (Inherited from ImageCommand.) | |
RedEffect |
Gets or sets effect on the Red color in the supplied image.
| |
SupportedPixelFormats | Gets an array of supported pixel formats. (Inherited from PhotoColorCorrectCommandBase.) | |
YellowEffect |
Gets or sets effect on the Yellow color in the supplied image.
|
Name | Description | |
---|---|---|
Apply | Apply the command to the given image. (Inherited from ImageCommand.) | |
ApplyToImage | Obsolete.
Applies the command to the source AtalaImage.
(Inherited from ImageCommand.) | |
ConstructChangedSourceImage | The method is called by the default implementation of Apply. It determines if it is necessary to create a
copy of the source image in a different pixel format and if so, determines the best new pixel format and allocates
that image. (Inherited from ImageCommand.) | |
ConstructFinalImage | Called by the default implementation of Apply, ConstructFinalImage constructs the image that will be used
as the destination image for the command. (Inherited from ImageCommand.) | |
ConstructImageResults | Constructs the results object for this command. (Inherited from ImageCommand.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetChangedPixelFormat | This method is called to change the pixel format of the source image. (Inherited from ImageCommand.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Overrides PhotoColorCorrectCommandBaseGetObjectData(SerializationInfo, StreamingContext).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ImageCommandGetObjectData | Aggregates ImageCommand data into the supplied SerializationInfo object. (Inherited from ImageCommand.) | |
ImplementMe |
Marker method to be implemented in subclasses.
(Overrides PhotoColorCorrectCommandBaseImplementMe.) | |
IsPixelFormatSupported | Returns a value indicating if the specified pixel format is supported. (Inherited from ImageCommand.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PerformActualCommand | PerformActualCommand does the actual work of the image processing command. (Inherited from PhotoColorCorrectCommandBase.) | |
SelectBestAlternatePixelFormat | Choose the best pixel format to use for this command when the supplied source image's pixel format is
unacceptable. (Inherited from ImageCommand.) | |
SelectPreferredPixelFormat | Chooses a pixel format that is preferred for this command. (Inherited from ImageCommand.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
VerifyImage | Verify the integrity of an AtalaImage. (Inherited from ImageCommand.) | |
VerifyProperties | Verify the integrity of properties in the command before processing an image. (Inherited from PhotoColorCorrectCommandBase.) |