-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #311 from ghalter/develop
0.9.2 Release Merge to Master
- Loading branch information
Showing
789 changed files
with
13,745 additions
and
339,440 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
============== | ||
Color Concepts | ||
============== | ||
|
||
In this section, you find an overview over the concepts, that are being used in | ||
VIAN, and what you can read out of the various analyses that VIAN offers. | ||
|
||
First of all, it is important to note that all of VIAN's visualizations of | ||
color properties and analyses are in the CIE L*a*b*- (or, simply, Lab-) space. | ||
Sometimes, elements or color properties of them are mapped into a sub-space of | ||
CIE L*a*b* - e.g. in some visualizations, the average color of screenshots may | ||
be displayed on the 2D-plane of their ab-values. | ||
|
||
But let's first look at what the CIE L*a*b* space actually is: | ||
|
||
CIE L*a*b* | ||
********** | ||
|
||
The CIE L*a*b* color space is a way to arrange colors in a intuitively | ||
understandable way: | ||
The three letters **L**, **a**, and **b** stand for the three parameters according to | ||
which the colors are arranged in this color space: | ||
|
||
- **L**: The Lightness of the color. The lighter the color, the higher is this | ||
value. It ranges from 0 (black) to 100 (white). | ||
- **a**: The color on the green-red axis. | ||
- **b**: The color on the blue-yellow axis. | ||
|
||
Normally, the **a** and **b** values are mapped into a 2D plane, while the | ||
**L** value is conceptualized orthogonal to this ab-plane. | ||
|
||
.. figure:: CIE_Lab.jpg | ||
:scale: 60% | ||
:align: center | ||
:alt: map to buried treasure | ||
|
||
The CIE L*a*b* color space, modelled as sphere. Credits: [#]_. | ||
|
||
An important property of the CIE L*a*b* space is that it is a so called | ||
«perceptually uniform» representation of colors: | ||
If we were to add a certain amount of lightness to two different colors, the | ||
modelling in CIE L*a*b* would ensure that both resulting colors will end up in | ||
a similar place relevant to their original ones. | ||
|
||
|
||
For more details, see e.g. the CIE L*a*b* article in `Wikipedia | ||
<https://en.wikipedia.org/wiki/CIELAB_color_space>`_. | ||
|
||
Further readings: | ||
|
||
- `Halter, Gaudenz; Ballester-Ripoll, Rafael; Flueckiger, Barbara; Pajarola, Renato (2019): VIAN. A Visual Annotation Tool for Film Analysis. In: Computer Graphics Forum, 38,1. | ||
<https://onlinelibrary.wiley.com/doi/full/10.1111/cgf.13676>`_. | ||
|
||
.. [#] Ly, Bao & Dyer, Ethan & Feig, Jessica & Chien, Anna & Bino, Sandra. (2020). Research Techniques Made Simple: Cutaneous Colorimetry: A Reliable Technique for Objective Skin Color Measurement. The Journal of investigative dermatology. 140. 3-12.e1. 10.1016/j.jid.2019.11.003. | ||
.. toctree:: | ||
:maxdepth: 4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
============== | ||
Color Concepts | ||
============== | ||
|
||
In this section, you find an overview over the concepts, that are being used in | ||
VIAN, and what you can read out of the various analyses that VIAN offers. | ||
|
||
First of all, it is important to note that all of VIAN's visualizations of | ||
color properties and analyses are in the CIE L*a*b*- (or, simply, Lab-) space. | ||
Sometimes, elements or color properties of them are mapped into a sub-space of | ||
CIE L*a*b* - e.g. in some visualizations, the average color of screenshots may | ||
be displayed on the 2D-plane of their ab-values. | ||
|
||
But let's first look at what the CIE L*a*b* space actually is: | ||
|
||
CIE L*a*b* | ||
********** | ||
|
||
The CIE L*a*b* color space is a way to arrange colors in a intuitively | ||
understandable way: | ||
The three letters **L**, **a**, and **b** stand for the three parameters according to | ||
which the colors are arranged in this color space: | ||
|
||
- **L**: The Lightness of the color. The lighter the color, the higher is this | ||
value. It ranges from 0 (black) to 100 (white). | ||
- **a**: The color on the green-red axis. | ||
- **b**: The color on the blue-yellow axis. | ||
|
||
Normally, the **a** and **b** values are mapped into a 2D plane, while the | ||
**L** value is conceptualized orthogonal to this ab-plane. | ||
|
||
.. figure:: CIE_Lab.jpg | ||
:scale: 60% | ||
:align: center | ||
:alt: map to buried treasure | ||
|
||
The CIE L*a*b* color space, modelled as sphere. Credits: Ly et al. (2020) [#]_. | ||
|
||
An important property of the CIE L*a*b* space is that it is a so called | ||
«perceptually uniform» representation of colors: | ||
If we were to add a certain amount of lightness to two different colors, the | ||
modelling in CIE L*a*b* would ensure that both resulting colors will end up in | ||
a similar place relevant to their original ones. | ||
|
||
|
||
Visualizations of VIAN Analyses | ||
******************************* | ||
|
||
In VIAN, color properties of entities (Screenshots, Segments, etc.) can be | ||
calculated regarding different aspects: | ||
|
||
- **Color Average** computes the average color of the whole entity | ||
- **Color Histogram** computes the distribution of colors in the entity, | ||
without providing information as how to these colors are grouped | ||
- **Color Palette** computes the distribution of colors in the entity, with | ||
providing information as how to these colors are grouped | ||
- **Color Z-Projection** does not compute any color features, but it lays the | ||
frames of a Segment onto each other - so movement of foreground in contrast | ||
to the background are bettervisible | ||
|
||
------------- | ||
Color Average | ||
------------- | ||
|
||
Let's say you have several screenshots you want to analyse in your project. | ||
You would follow the steps described in the section ref:`analyses`, so VIAN | ||
computes the analysis you want it to, in this case **color average**. | ||
When the computation has finished, VIAN offers you several visualizations of | ||
these analyses. | ||
The first you see in the analyses widget is the **AB-Plane**, which refers to | ||
the a*b* dimension of the CIE L*a*b* color space. | ||
|
||
In the figure below, you see every screenshot mapped onto its position in the | ||
a*b* plane regarding the values of its average color: | ||
|
||
.. figure:: analyses_ab_plane.png | ||
:scale: 60% | ||
:align: center | ||
:alt: map to buried treasure | ||
|
||
Color average analysed screenshots, mapped onto the a*b* plane. | ||
|
||
You can imagine it as looking from the top (from the «northpole») of the color | ||
globe from the figure before onto the middle plane, where the colors are mapped | ||
according to their green-red and yellow-blue properties. | ||
|
||
.. figure:: analyses_colordT_saturation.png | ||
:scale: 60% | ||
:align: center | ||
:alt: map to buried treasure | ||
|
||
Color average analysed screenshots, mapped regarding their saturation values | ||
over time. | ||
|
||
In the drop-down menu, you can select different features of the color average | ||
you want to plot over time. | ||
For example, you can plot the hue on the y-axis over time on the x-axis. | ||
However, since hue is conceptualized as laying in a circle, values with a very | ||
high and with a very low hue value actually lie close together. | ||
Due to the plotting of the hue value on a linear axis, this is not conceivable | ||
on the first look: | ||
The two screenshots marked with red arrows in the following picture are very | ||
far away from each other concerning their x-axis value, but actually they are | ||
almost the same color, since a very high and a very low hue value represent | ||
very similar colors. | ||
|
||
.. figure:: analyses_colordT_hue.png | ||
:scale: 60% | ||
:align: center | ||
:alt: map to buried treasure | ||
|
||
Color average analysed screenshots, mapped regarding their hue values | ||
over time. | ||
|
||
To inspect the **color average** analysis for single entities, in this case a | ||
single screenshot, open the inspector and select the screenshot you are | ||
interested in (either through the :ref:`outliner` or in the | ||
:ref:`screenshot_manager`). | ||
As you can see in the figure below, **1** points to the selected screenshot in | ||
the screenshot manager and the inspector. | ||
Just below the screenshot in the inspector, where **2** is pointing to, you see | ||
the computed results of the color average analysis: | ||
On th eone hand, you see the actual average color of the entity, as well as | ||
the actual numerical values of that average color in different color schemes. | ||
|
||
|
||
.. figure:: color_average_inspector.png | ||
:scale: 60% | ||
:align: center | ||
:alt: map to buried treasure | ||
|
||
The color average analysis in the Inspector. | ||
|
||
|
||
|
||
--------------- | ||
Color Histogram | ||
--------------- | ||
|
||
A histogram is essentially a representation of the distribution of numerical | ||
data --- in terms of colors of a digital image, this simply means to look at | ||
each pixel individually and look at its color properties. | ||
The accumulation of this process can then be visualized in a color space. | ||
|
||
Consider an image like the following screenshot: | ||
|
||
.. figure:: bright_screenshot.png | ||
:scale: 80% | ||
:align: center | ||
:alt: map to buried treasure | ||
|
||
A bright screenshot. | ||
|
||
When the **Color Histogram** analysis has been computed of this image, you can | ||
find a visualization of it in the inspector widget, below the actual image: | ||
|
||
.. figure:: histogram.png | ||
:scale: 80% | ||
:align: center | ||
:alt: map to buried treasure | ||
|
||
Color Histogram of a bright screenshot, visualized in the Inspector. | ||
|
||
As can be seen in the histogram (and the screenshot as well, in this case), | ||
there are many pixels that have yellowish color properties --- in this picture | ||
those come from mainly from the sand in the background --- and there are also | ||
spikes for pink and red color tons --- from the dress of the woman. | ||
However, it has to be noted, that this is strictly speaking not visible from | ||
the histogram itself, it merely tells us that there are many yellowish pixels | ||
in the image, but it does not convey information as how these pixels are | ||
arranged in the picture. | ||
In fact ANY arrangement of the pixels in the original image (also completely | ||
random ones) would have the same histogram. | ||
|
||
Therefore, the histogram is not an analysis that conveys too much information | ||
for color analysis. | ||
|
||
The | ||
|
||
------------- | ||
Color Palette | ||
------------- | ||
|
||
.. figure:: superpixels.png | ||
:scale: 60% | ||
:align: center | ||
:alt: map to buried treasure | ||
|
||
Superpixels XXXXXXX. Credits: Halter et al. (2019) [#]_. | ||
|
||
------------------ | ||
Color Z-Projection | ||
------------------ | ||
|
||
For more details, see e.g. the CIE L*a*b* article in `Wikipedia | ||
<https://en.wikipedia.org/wiki/CIELAB_color_space>`_. | ||
|
||
Further readings: | ||
|
||
- `Halter, Gaudenz; Ballester-Ripoll, Rafael; Flueckiger, Barbara; Pajarola, Renato (2019): VIAN. A Visual Annotation Tool for Film Analysis. In: Computer Graphics Forum, 38,1. | ||
<https://onlinelibrary.wiley.com/doi/full/10.1111/cgf.13676>`_. | ||
|
||
.. [#] Ly, Bao & Dyer, Ethan & Feig, Jessica & Chien, Anna & Bino, Sandra. (2020). Research Techniques Made Simple: Cutaneous Colorimetry: A Reliable Technique for Objective Skin Color Measurement. The Journal of investigative dermatology. 140. 3-12.e1. 10.1016/j.jid.2019.11.003. | ||
.. [#] Halter, Gaudenz; Ballester-Ripoll, Rafael; Flueckiger, Barbara; Pajarola, Renato (2019): VIAN. A Visual Annotation Tool for Film Analysis. In: Computer Graphics Forum, 38,1. | ||
.. toctree:: | ||
:maxdepth: 4 | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-50.5 KB
(67%)
_docs/source/user_interface/interface_detail/inspector/inspector.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.