# 2D DataSets

### 2D Data

Often, 2-dimensional (2D) data are represented as histograms (i.e., how often a value appears in a range of data) and images. The former is a set of numbers that can be studied using databases and statistical software, while the latter will be our case of study. Images are two dimensional arrays of bits that store information about the color of an specific point. The minimum unit of an image is called pixel which has the RGB values of the point's color. Each RGB values is a number in the range from 0 to 255. Here, we have  examples of images with data from a section of heart and the brain.

![Tomography of the human heart](https://1564297567-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvpZTppa56OvfLm71ut%2F-MDaxo6wWk9Dv6wKiqpK%2F-MDbY5Hg6ElYPRQVgEvw%2Ftomography.jpg?alt=media\&token=e2f8c4a5-1133-405b-b230-89b8fff0905d)

![MRI brain image](https://1564297567-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LvpZTppa56OvfLm71ut%2F-MDbbjYvLJSGe85k5Oo4%2F-MDbgktH5Jokv8bd0X73%2F2d_brain.png?alt=media\&token=7414e695-6c92-472b-ac18-8edce77a91aa)

One additional aspect of 2D images is the color scale. Briefly explained, color space is a numerical representation of range of colors that a projector or monitor could create. Due to the many requirements for artists, printers and computer generated effects, the list of color spaces used in images is large.&#x20;

* RGB : It is intended as the common color space for the creation of images based on the primordial colors of light  Red, Green, Blue. they are used in monitors, televisions, digital cameras and scanners.
* Grayscale: Each point in the image—instead of a number representation from a set colors—represents the intensity of light. They are kind of a black and white or gray monochrome.
* HSL: It uses the concept of Hue, Saturation and Lightness to create a color. Hue represents a color in the color wheel. Saturation is how strong (i.e., saturated) the color is. Lightness is how bright the color is. It is used on design and artistic software.

{% hint style="info" %}
To see a complete list of color spaces follow[ this link](https://en.wikipedia.org/wiki/List_of_color_spaces_and_their_uses)
{% endhint %}

It is not a must to know the color space of your data. However, it will give you an understanding on the type of operations to perform to analyze and get results.

### 2D image data software

1. [MatLab](https://www.mathworks.com/products/matlab.html)
2. [Fji ( ImajeJ )](https://imagej.net/Fiji)
3. [Qupath](https://qupath.github.io/)
4. [Paraview](https://www.paraview.org/)
5. [Cell Profiler](https://cellprofiler.org/)
6. [ilastik](https://www.ilastik.org/)
7. [**Gimp** ](https://www.gimp.org/)
8. [ImageMagic](https://imagemagick.org/index.php)
9. [Imaris](https://imaris.oxinst.com/) (Licensed)
10. [Adobe Photoshop](https://www.photoshop.com/en) (Licensed)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ccv.brown.edu/visualization/visualizing-your-datasets/type-of-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
