Spaces:
Sleeping
Sleeping
Update pages/Data Collection.py
Browse files- pages/Data Collection.py +0 -3
pages/Data Collection.py
CHANGED
|
@@ -527,7 +527,6 @@ def image_details_page():
|
|
| 527 |
- Used for simple image processing tasks where color isn't essential.
|
| 528 |
- **Disadvantage**: It only preserves black and white, so other colors (like red, green, or brown) are completely lost.
|
| 529 |
- For example, by using the image's width and height (rows and columns), we can create a **2D array** where each pixel is represented by either 0 (black) or 255 (white).
|
| 530 |
-
- **Use case**: Binary classification problems like simple object detection, where only the presence or absence of a feature matters.
|
| 531 |
""")
|
| 532 |
|
| 533 |
# Subheading for Grayscale color space
|
|
@@ -537,7 +536,6 @@ def image_details_page():
|
|
| 537 |
- Preserves brightness details but loses color information.
|
| 538 |
- **Disadvantage**: If the image has colors like red, green, or brown, it cannot preserve those since grayscale only represents shades of gray.
|
| 539 |
- After converting an image to grayscale, each pixel can take values from 0 (black) to 255 (white), with every intermediate value representing a shade of gray.
|
| 540 |
-
- **Use case**: Applications where only intensity (brightness) matters, like edge detection or certain medical imaging applications.
|
| 541 |
""")
|
| 542 |
|
| 543 |
# Subheading for RGB color space
|
|
@@ -548,7 +546,6 @@ def image_details_page():
|
|
| 548 |
- By mixing different intensities of red, green, and blue, you can create over **16 million possible colors**.
|
| 549 |
- This is the most commonly used color space for colored images and is widely used in digital displays, cameras, and image processing tasks.
|
| 550 |
- In RGB color space, each pixel is represented by three values, one for each channel (Red, Green, Blue). The image is represented as a **3D array** where each pixel has three values (R, G, B).
|
| 551 |
-
- **Disadvantage**: It requires more data (3 values per pixel), which can be computationally intensive.
|
| 552 |
""")
|
| 553 |
|
| 554 |
# Connecting the concepts
|
|
|
|
| 527 |
- Used for simple image processing tasks where color isn't essential.
|
| 528 |
- **Disadvantage**: It only preserves black and white, so other colors (like red, green, or brown) are completely lost.
|
| 529 |
- For example, by using the image's width and height (rows and columns), we can create a **2D array** where each pixel is represented by either 0 (black) or 255 (white).
|
|
|
|
| 530 |
""")
|
| 531 |
|
| 532 |
# Subheading for Grayscale color space
|
|
|
|
| 536 |
- Preserves brightness details but loses color information.
|
| 537 |
- **Disadvantage**: If the image has colors like red, green, or brown, it cannot preserve those since grayscale only represents shades of gray.
|
| 538 |
- After converting an image to grayscale, each pixel can take values from 0 (black) to 255 (white), with every intermediate value representing a shade of gray.
|
|
|
|
| 539 |
""")
|
| 540 |
|
| 541 |
# Subheading for RGB color space
|
|
|
|
| 546 |
- By mixing different intensities of red, green, and blue, you can create over **16 million possible colors**.
|
| 547 |
- This is the most commonly used color space for colored images and is widely used in digital displays, cameras, and image processing tasks.
|
| 548 |
- In RGB color space, each pixel is represented by three values, one for each channel (Red, Green, Blue). The image is represented as a **3D array** where each pixel has three values (R, G, B).
|
|
|
|
| 549 |
""")
|
| 550 |
|
| 551 |
# Connecting the concepts
|