Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +3 -5
pages/Data Collection.py
CHANGED
|
@@ -438,7 +438,7 @@ elif st.session_state.current_page == "explore_images_video":
|
|
| 438 |
caption="Gray Scale Color Space.",
|
| 439 |
use_container_width=True)
|
| 440 |
|
| 441 |
-
|
| 442 |
st.subheader("What is RGB Color Space?")
|
| 443 |
st.write("""
|
| 444 |
RGB color space represents an image using three primary colors: **Red**, **Green**, and **Blue**. These colors form the basis of digital images and can be combined in different intensities to create a wide range of colors.
|
|
@@ -461,11 +461,9 @@ elif st.session_state.current_page == "explore_images_video":
|
|
| 461 |
|
| 462 |
Computers interpret RGB images as **3D arrays**:
|
| 463 |
- The **width** and **height** of the 3D array correspond to the dimensions of the image.
|
| 464 |
-
- The **depth** of the 3D array corresponds to the number of color channels
|
| 465 |
-
|
| 466 |
-
In an RGB image, each color channel is represented by its own **2D array**, and these three 2D arrays are stacked together to form the **3D array**. This means that an RGB image is essentially a combination of three 2D arrays: one for red, one for green, and one for blue.
|
| 467 |
|
| 468 |
-
Altogether, these three channels
|
| 469 |
""")
|
| 470 |
|
| 471 |
st.image(
|
|
|
|
| 438 |
caption="Gray Scale Color Space.",
|
| 439 |
use_container_width=True)
|
| 440 |
|
| 441 |
+
|
| 442 |
st.subheader("What is RGB Color Space?")
|
| 443 |
st.write("""
|
| 444 |
RGB color space represents an image using three primary colors: **Red**, **Green**, and **Blue**. These colors form the basis of digital images and can be combined in different intensities to create a wide range of colors.
|
|
|
|
| 461 |
|
| 462 |
Computers interpret RGB images as **3D arrays**:
|
| 463 |
- The **width** and **height** of the 3D array correspond to the dimensions of the image.
|
| 464 |
+
- The **depth** of the 3D array corresponds to the number of color channels.
|
|
|
|
|
|
|
| 465 |
|
| 466 |
+
Altogether, these three channels combine to form a complete color image, enabling vibrant, precise, and dynamic representations of colors in digital media.
|
| 467 |
""")
|
| 468 |
|
| 469 |
st.image(
|