Spaces:
Sleeping
Sleeping
Update pages/7_Unstructured_data.py
Browse files- pages/7_Unstructured_data.py +14 -3
pages/7_Unstructured_data.py
CHANGED
|
@@ -433,11 +433,11 @@ if file_type == "IMAGE":
|
|
| 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**')
|
|
@@ -450,6 +450,17 @@ if file_type == "IMAGE":
|
|
| 450 |
x' = x + t_x \\
|
| 451 |
y' = y + t_y
|
| 452 |
$$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 453 |
''')
|
| 454 |
|
| 455 |
|
|
|
|
| 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**')
|
|
|
|
| 450 |
x' = x + t_x \\
|
| 451 |
y' = y + t_y
|
| 452 |
$$
|
| 453 |
+
- **Translation matrix**:
|
| 454 |
+
- [1 0 Tx
|
| 455 |
+
0 1 Ty]
|
| 456 |
+
- **Tx**
|
| 457 |
+
- Tx --> move on x-axis
|
| 458 |
+
- Tx --> Right shift in +ve
|
| 459 |
+
- Ty --> Left shift in -ve
|
| 460 |
+
- **Ty**
|
| 461 |
+
- Ty --> move on y-axis
|
| 462 |
+
- +ve which is downwards
|
| 463 |
+
- -ve which is upwards
|
| 464 |
''')
|
| 465 |
|
| 466 |
|