Spaces:
Sleeping
Sleeping
Update pages/7_Unstructured_data.py
Browse files- pages/7_Unstructured_data.py +17 -5
pages/7_Unstructured_data.py
CHANGED
|
@@ -431,16 +431,28 @@ if file_type == "IMAGE":
|
|
| 431 |
- **Image Augumentation using Affine Tranformation matrix:**
|
| 432 |
- Formula:
|
| 433 |
$$
|
| 434 |
-
I'(x',y') = ATM \cdot I(x,y)
|
| 435 |
|
| 436 |
-
- I(x,y) ---> original image
|
| 437 |
|
| 438 |
-
- ATM ---> affine tranformation matrix
|
| 439 |
|
| 440 |
-
- I'(x',y') ---> augumented image
|
| 441 |
$$
|
| 442 |
-
|
| 443 |
''', unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 444 |
|
| 445 |
|
| 446 |
|
|
|
|
| 431 |
- **Image Augumentation using Affine Tranformation matrix:**
|
| 432 |
- Formula:
|
| 433 |
$$
|
| 434 |
+
I'(x',y') = ATM \cdot I(x,y) \\
|
| 435 |
|
| 436 |
+
- I(x,y) ---> original image \\
|
| 437 |
|
| 438 |
+
- ATM ---> affine tranformation matrix \\
|
| 439 |
|
| 440 |
+
- I'(x',y') ---> augumented image \\
|
| 441 |
$$
|
|
|
|
| 442 |
''', unsafe_allow_html=True)
|
| 443 |
+
st.subheader('**Translation**')
|
| 444 |
+
st.amrkdown('''
|
| 445 |
+
- Translation is a type of affine transformation matrix used to shift the image
|
| 446 |
+
- It shifts the image both in x-axis direction and y-axis direction
|
| 447 |
+
- Formula:
|
| 448 |
+
$$
|
| 449 |
+
I(x,y) \cdot Translation matrix = I'(x',y') \\
|
| 450 |
+
Translation matrix is [1 0 Tx]
|
| 451 |
+
[0 1 Ty]
|
| 452 |
+
x' = x + t_x \\
|
| 453 |
+
y' = y + t_y
|
| 454 |
+
$$
|
| 455 |
+
''')
|
| 456 |
|
| 457 |
|
| 458 |
|