The
imagecolortuner
application can be found in
<installdir>/samples/framework/imagecolortuner
where
<installdir>
is the directory where you have installed
JViews TGO. This utility
enables you to find the best values for the parameters of
IltNEImageBaseRendererFactory quickly and
easily.
Click File>Load Image to load
your image.
Customize the
Carrying Traffic with
alarm representations. You have to choose the gray level that
will be mapped to the normal alarm color. For details see
Creating network element types from images
and customizing them. To do so, you can either display the tab
called
Row 1 and use the slider or
click in the zoomed view on a pixel that has the color you want
to be mapped to the normal alarm color.
Customize the
No Traffic
representation. You have to indicate which details of your
original image should have the dark color. For details see
Creating network element types from images
and customizing them. To do so, display the tab called
Row 2 and adjust the two sliders. The
first slider adjusts the threshold for bright colors: colors of
the original image brighter than this threshold will be
displayed in the appropriate dark color depending on the state
and alarms. The second slider adjusts the threshold for dark
colors: colors of the original image darker than this threshold
will also be displayed in the appropriate dark color depending
on the state and alarms.
Click File>View Source to
display the sample source code. The source code needed to create
your new type as it is currently represented on screen is
displayed. The factory constructor contains the appropriate
values.
You can create your new type by noting or copying the parameter
values or the entire code and pasting it into your JViews TGO application.