Spaces:
Sleeping
Sleeping
Update pages/7_Unstructured_data.py
Browse files- pages/7_Unstructured_data.py +29 -1
pages/7_Unstructured_data.py
CHANGED
|
@@ -146,4 +146,32 @@ if file_type == "IMAGE":
|
|
| 146 |
- Gray scale converts to different shades of gray
|
| 147 |
- Black and white converts to either black or white
|
| 148 |
''')
|
| 149 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 146 |
- Gray scale converts to different shades of gray
|
| 147 |
- Black and white converts to either black or white
|
| 148 |
''')
|
| 149 |
+
st.header('**RGB Color Space**')
|
| 150 |
+
st.markdown('''
|
| 151 |
+
- While converting image to numerical it can't convert as it has 3 colors --> as it converts to 3D array
|
| 152 |
+
- There are 3 channels in RGB Color Space
|
| 153 |
+
- **Red Channel**
|
| 154 |
+
- **Green Channel**
|
| 155 |
+
- **Blue Channel**
|
| 156 |
+
''')
|
| 157 |
+
st.subheader('**Red Channel**')
|
| 158 |
+
st.markdown('''
|
| 159 |
+
- It is 2D array which has [0 - 255]
|
| 160 |
+
- 0 means black and 255 is red , [0 - 255] between is shades of red
|
| 161 |
+
- Red channel is taken and kept at depth of 1 --> depth always represents color
|
| 162 |
+
- As it is always constant
|
| 163 |
+
''')
|
| 164 |
+
st.subheader('**Green Channel**')
|
| 165 |
+
st.markdown('''
|
| 166 |
+
- It is 2D array which has [0 - 255]
|
| 167 |
+
- 0 means black and 255 is green , [0 - 255] between is shades of green
|
| 168 |
+
- Red channel is taken and kept at depth of 2 --> depth always represents color
|
| 169 |
+
- As it is always constant
|
| 170 |
+
''')
|
| 171 |
+
st.subheader('**Blue Channel**')
|
| 172 |
+
st.markdown('''
|
| 173 |
+
- It is 2D array which has [0 - 255]
|
| 174 |
+
- 0 means black and 255 is blue , [0 - 255] between is shades of blue
|
| 175 |
+
- Red channel is taken and kept at depth of 3 --> depth always represents color
|
| 176 |
+
- The combination of 3 chnnels give 3D array where depth represents color and it is always constant
|
| 177 |
+
''')
|