Spaces:
Sleeping
Sleeping
Update pages/7_Unstructured_data.py
Browse files121 unmodified lines122123124125126121 unmodified lines''')elif data_type1 == "Color Space":st.header('**Color Space**')121 unmodified lines122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179121 unmodified lines''')elif data_type1 == "Color Space":st.header('**Color Space**')st.markdown("""There are 3 types of Color Spaces<ul class="icon-bullet"><li>Black & White Color Space </li><li>Gray Scale Color Space </li><li>RGB Color Space </li></ul>""", unsafe_allow_html=True)st.header('**Black & White Color Space**')st.markdown('''- It preserves only two colors which are **black(0) and white(1)**- For converting image into numerical as the image is 2D format numpy is used- Here there is no color preservation- As image is represented in 0's and 1's which will be only in black and white in grid format- To neglect the color preservation of black and white color space next gray scale is used''')st.header('**Gray Scale Color Space**')st.markdown('''- It preserves total 256 colors which is [0 - 255]- Where 0 represent black and 255 represent white , [1 - 255] --> shades of grey color- If the image is colored then the both gray scale and colorspace are not used- Gray scale converts to different shades of gray- Black and white converts to either black or white''')st.header('**RGB Color Space**')st.markdown('''- While converting image to numerical it can't convert as it has 3 colors --> as it converts to 3D array- There are 3 channels in RGB Color Space- *Red Channel*- *Green Channel*- *Blue Channel*''')st.subheader('**Red Channel**')st.markdown('''- It is 2D array which has [0 - 255]- 0 means black and 255 is red , [0 - 255] between is shades of red- Red channel is taken and kept at depth of 1 --> depth always represents color- As it is always constant''')st.subheader('**Green Channel**')st.markdown('''- It is 2D array which has [0 - 255]- 0 means black and 255 is green , [0 - 255] between is shades of green- Red channel is taken and kept at depth of 2 --> depth always represents color- As it is always constant''')st.subheader('**Blue Channel**')st.markdown('''- It is 2D array which has [0 - 255]- 0 means black and 255 is blue , [0 - 255] between is shades of blue- Red channel is taken and kept at depth of 3 --> depth always represents color- The combination of 3 chnnels give 3D array where depth represents color and it is always constant''')
pages/7_Unstructured_data.py+53