Commit 072fcc20 authored by Christian Tischer's avatar Christian Tischer

EMBL Course

parent d1dea9ad
...@@ -70,7 +70,7 @@ decrease, larger_than, increase, smaller_than ...@@ -70,7 +70,7 @@ decrease, larger_than, increase, smaller_than
- Decreasing both LUT_max and LUT_min will _____ the overall brightness. - Decreasing both LUT_max and LUT_min will _____ the overall brightness.
- Pixels with values _____ the LUT_min will appear black, when using a grayscale LUT. - Pixels with values _____ the LUT_min will appear black, when using a grayscale LUT.
   
## Image math and pixel data types ## Image math and pixel data types
<img src='https://g.gravizo.com/svg? <img src='https://g.gravizo.com/svg?
...@@ -83,6 +83,7 @@ decrease, larger_than, increase, smaller_than ...@@ -83,6 +83,7 @@ decrease, larger_than, increase, smaller_than
"N bit unsigned integer" -> "0 to 2^N - 1"; "N bit unsigned integer" -> "0 to 2^N - 1";
"data type" -> float; "data type" -> float;
"data type" -> double; "data type" -> double;
"data type" -> "...";
"data type" -> "N-bit unsigned integer"; "data type" -> "N-bit unsigned integer";
} }
'/> '/>
...@@ -141,13 +142,13 @@ True or false? ...@@ -141,13 +142,13 @@ True or false?
- [Limitations of float](https://randomascii.wordpress.com/2012/02/13/dont-store-that-in-a-float/) - [Limitations of float](https://randomascii.wordpress.com/2012/02/13/dont-store-that-in-a-float/)
## Pixel data type conversions ## Data type conversion
<img src='https://g.gravizo.com/svg? <img src='https://g.gravizo.com/svg?
digraph G { digraph G {
shift [fontcolor=white,color=white]; shift [fontcolor=white,color=white];
"pixel_type_conversion" -> "pixel_values" [label=" can change"]; "data type conversion" -> "values" [label=" can change"];
"pixel_type_conversion" -> pixel_value_range [label=" changes"]; "data type conversion" -> "value range" [label=" changes"];
} }
'/> '/>
...@@ -155,6 +156,8 @@ True or false? ...@@ -155,6 +156,8 @@ True or false?
What are good reasons to change the pixel data type of an image? What are good reasons to change the pixel data type of an image?
TODO
- a - a
- b - b
- c - c
...@@ -162,13 +165,14 @@ What are good reasons to change the pixel data type of an image? ...@@ -162,13 +165,14 @@ What are good reasons to change the pixel data type of an image?
### Activity: 16-bit to 8-bit conversion ### Activity: 16-bit to 8-bit conversion
- Open image: `xy_16bit__two_values.tif` * Open image: `xy_16bit__two_values.tif`
- Convert to 8-bit * Convert to 8-bit
* Understand the mathematics of the conversion
### Activity: 16-bit to float conversion ### Activity: 16-bit to float conversion
- Open image: `xy_16bit__two_values.tif` * Open image: `xy_16bit__two_values.tif`
- Convert to float * Convert to float
### Formative Assessment ### Formative Assessment
...@@ -181,7 +185,6 @@ True or false? ...@@ -181,7 +185,6 @@ True or false?
## Image segmentation overview ## Image segmentation overview
<img src='https://g.gravizo.com/svg? <img src='https://g.gravizo.com/svg?
digraph G { digraph G {
shift [fontcolor=white,color=white]; shift [fontcolor=white,color=white];
...@@ -432,7 +435,7 @@ Which statements are true? ...@@ -432,7 +435,7 @@ Which statements are true?
- Intensity measurements - Intensity measurements
- Object shape measurements - Object shape measurements
- Label image - Label image
- Pixel data types - Data types
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment