Harika22 commited on
Commit
8dfb041
·
verified ·
1 Parent(s): 711fa2a

Update pages/7_Unstructured_data.py

Browse files
Files changed (1) hide show
  1. pages/7_Unstructured_data.py +16 -0
pages/7_Unstructured_data.py CHANGED
@@ -130,4 +130,20 @@ if file_type == "IMAGE":
130
  <li>RGB Color Space </li>
131
  </ul>
132
  """, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
 
 
130
  <li>RGB Color Space </li>
131
  </ul>
132
  """, unsafe_allow_html=True)
133
+ st.header('**Black & White Color Space **')
134
+ st.markdown('''
135
+ - It preserves only two colors which are **black(0) and white(1)**
136
+ - For converting image into numerical as the image is 2D format numpy is used
137
+ - Here there is no color preservation
138
+ - As image is represented in 0's and 1's which will be only in black and white in grid format
139
+ - To neglect the color preservation of black and white color space next gray scale is used
140
+ ''')
141
+ st.header('**Gray Scale Color Space**')
142
+ st.markdown('''
143
+ - It preserves total 256 colors which is [0 - 255]
144
+ - Where 0 represent black and 255 represent white , [1 - 255] --> shades of grey color
145
+ - If the image is colored then the both gray scale and colorspace are not used
146
+ - Gray scale converts to different shades of gray
147
+ - Black and white converts to either black or white
148
+ ''')
149