|
|
TRGBCurves is an interactive component to create
curves for color and exposure correction in digital images.
It can be used very easily and effectively in
every delphi application that requires enhancing
images for any purpose. It is very useful also
in medical applications, that require advanced
capabilities for image analysis, by allowing to
precisely set the level of contrast and
exposure. It is especially very powerful if used
in conjunction with the
ImageEn graphics library |
|
|
- Successfully Tested with ImageEn 4.0 and with Delphi XE
- Added a PreviewMode which can be set in order to switch
between a faster preview called flat preview (to use when
there are no layers or when the layers are not transparently
displayed) and a full-update mode which works in any case but is
slower. A third mode, the auto mode, is provided to let the
component automatically switch from one mode to another
according to the best performance and to the mode's limitations.
- Now the gdiplus patch and imageen are no longer needed
in order to draw curves using gdiplus
- Rewritten Code to handle curve points in memory: now uses a
TObjectList rather than array
- Fixed some problems adding and setting points by code
- Fixed the graph with gdiplus when curve drawing exceeds
boundary
- Added Event to Draw Custom Points
- Added ability to set custom layout properties for each
point independently
- When saving curve points to files now many other
information is saved, including custom layout of points and
interpolation parameters
- Added Events:
- a) to handle before and after preview (for profiling
purpose for example)
- b) Before and After Adding a Point
- Now each point can also be accessed as an object of type
TRGBCurves_PointItem
- New curve interpolation algorithm for even smoother
curves
|
The component provides convenient methods to apply color and
luminance correction
curves to both full color (24/32 bits) and grayscale pictures.
"Curve
Correction" is used in professional image editors, such as
Adobe Photoshop and Corel Paint Shop Pro.
The component can be just dropped on a form and requires
very few code to apply the curves to a digital image
or to preview and apply changes using a TImageenView
component.
No coding is required to create the curves, the
component knows how to do that by itself.
The user clicks on the diagram to set a new curve point,
can move it around and remove it,
interacting with the mouse to change the curve
appearance. A simple right-click removes a point. The user
can also add/remove and move points by code of course.
Changes to a TBitmap, TIEBitmap, TImageEnview image are
applied just calling a method of the component.
Beside creating curves by points it is also
possible to create mathematical curves, based on formulas,
for example it easy to make a gamma correction
curve, knowing the gamma correction formula.
The Component is also able to display histograms from any
picture. |
 |
- Creates a curve for each color channel and for the luminance
channel as well.
- Smooth curve shapes because of the spline interpolation.
- Native support for ImageEn TIEBitmap
- Native Support for ImageEn TImageEnView (Selections and
Layers as well), with fast preview
- Supports standard TBitmap as well
- Curves can also be built from Mathematical functions
- Displays Histograms from pictures. A method to load the
histogramfrom picture is provided
- Saves and Reloads Curves To/From a text file or to/from a
INI file.
|
|
|