ND filters are used by photographers to compress the dynamic range of high contrast scenes into a smaller range which can be better viewed or printed. These filters feature a 'dark' half and a clear half, with the transition either soft or hard depending on the effect desired. The dark half is typically either 2 or 3 "f-stops" darker. Multiple filters can be applied to achieve a greater or more complex effect.
A typical use for an ND filter is to darken the bright skies in an image to bring its tonal values more in line with those of the darker foreground. Sunrises, sunsets, horizon shots, canyons and other contrasty landscapes are good candidates for an ND filter.
The PhotoEffects ND Graduated is incredibly flexible, allowing you to adjust where in the image you want the effect applied (using the Location property), how dramatic you want the effect (using the Density parameter), how hard or soft you want the transition (using the Hardness property), how large an area you want the effect portion of the filter to cover (using the Radius property), and the angle at which you want the effect (using the Angle property). Angled effects are important if you have a diagonal sun/shade line or other non-horizontal dark/light division in your image.
The PhotoEffects ND filter can even provide "impossible" effects by allowing you to set the density of the "light" side of the filter. With traditional filters this is always transparent (a value of 1) but with the PhotoEffects filter you can set the starting density to be brighter or darker.
Thetype exposes the following members.
Initializes a new instance of theclass.
Initializes a new instance of theclass with serialized data.
|NDGradFilterCommand(Double, Double, Double, Double)|
Initializes a new instance of theclass with values for location, density, radius, and hardness.
Gets or sets the angle of effect in degrees. 0 is horizontal (horizon). +/- 90 is vertical, etc.
Reports whether or not this command will be applied to any supplied PixelFormat image(Inherited from ImageCommand.)
Returns true if the command can be applied to any PixelFormat.(Inherited from ImageCommand.)
Gets or sets the density - the strength of the filter, roughly in f-stops.
Gets or sets the filter to use for the ND Graduated Filter.
Gets or sets a value indicating the hardness of the filter, expressed as a Gamma / Power value. 1 is nearly linear, higher values are higher gamma/contrast transitions
Gets a value indicating if the source image data is processed in-place as opposed to returning a new image.(Overrides ImageCommandInPlaceProcessing.)
Gets or sets the location of the center of the filter effect from the top of the image (0) to the bottom (1).
Gets or sets the ProgressEventHandler delegate which can be used to view or cancel the progress of the current process.(Inherited from ImageCommand.)
Gets or sets the radius.
Gets or sets the starting density.
Gets an array of supported pixel formats.(Overrides ImageCommandSupportedPixelFormats.)
Apply the command to the given image.(Inherited from ImageCommand.)
|ApplyToImage|| Obsolete. |
Applies the command to the source AtalaImage.(Inherited from ImageCommand.)
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.)
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.)
Constructs the results object for this command.(Inherited from ImageCommand.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
This method is called to change the pixel format of the source image.(Inherited from ImageCommand.)
Serves as the default hash function.(Inherited from Object.)
Populates a SerializationInfo with the data needed to serialize the target object.
Gets the Type of the current instance.(Inherited from Object.)
Aggregates ImageCommand data into the supplied SerializationInfo object.(Inherited from ImageCommand.)
Returns a value indicating if the specified pixel format is supported.(Inherited from ImageCommand.)
Creates a shallow copy of the current Object.(Inherited from Object.)
PerformActualCommand does the actual work of the image processing command.(Overrides ImageCommandPerformActualCommand(AtalaImage, AtalaImage, Rectangle, ImageResults).)
Choose the best pixel format to use for this command when the supplied source image's pixel format is unacceptable.(Inherited from ImageCommand.)
Chooses a pixel format that is preferred for this command.(Inherited from ImageCommand.)
Returns a string that represents the current object.(Inherited from Object.)
Verify the integrity of an AtalaImage.(Inherited from ImageCommand.)
Verify the integrity of properties in the command before processing an image.(Overrides ImageCommandVerifyProperties(AtalaImage).)