LakshmiHarika commited on
Commit
8ad3a84
·
verified ·
1 Parent(s): 4b3f466

Update pages/Data Collection.py

Browse files
Files changed (1) hide show
  1. pages/Data Collection.py +15 -8
pages/Data Collection.py CHANGED
@@ -443,14 +443,21 @@ elif st.session_state.current_page == "explore_images_video":
443
  st.write("""
444
  RGB color space represents an image using three primary colors: **Red**, **Green**, and **Blue**.
445
 
446
- - Each color is represented by a value ranging from **0** (no intensity) to **255** (maximum intensity).
447
- - A combination of these three color channels creates a wide range of colors.
448
- - For example:
449
- - **(255, 0, 0)** represents pure **Red**.
450
- - **(0, 255, 0)** represents pure **Green**.
451
- - **(0, 0, 255)** represents pure **Blue**.
452
- - **(255, 255, 255)** represents **White** (maximum intensity for all channels).
453
- - **(0, 0, 0)** represents **Black** (no intensity in any channel).
 
 
 
 
 
 
 
454
 
455
  RGB is the most common color space used in digital imaging and is ideal for screens and devices that emit light.
456
  """)
 
443
  st.write("""
444
  RGB color space represents an image using three primary colors: **Red**, **Green**, and **Blue**.
445
 
446
+ A colored image in the RGB color space is split into **three channels**:
447
+ - **Red Channel**
448
+ - **Green Channel**
449
+ - **Blue Channel**
450
+
451
+ Each channel represents its intensity as a **2D array**, where:
452
+ - Each pixel contains a value ranging from **0** (no intensity) to **255** (maximum intensity) for that color.
453
+
454
+ By combining these three channels, a wide range of colors can be created.
455
+ For example:
456
+ - **(255, 0, 0)** represents pure **Red**.
457
+ - **(0, 255, 0)** represents pure **Green**.
458
+ - **(0, 0, 255)** represents pure **Blue**.
459
+ - **(255, 255, 255)** represents **White** (maximum intensity for all channels).
460
+ - **(0, 0, 0)** represents **Black** (no intensity in any channel).
461
 
462
  RGB is the most common color space used in digital imaging and is ideal for screens and devices that emit light.
463
  """)