Spaces:
Sleeping
Sleeping
Update pages/7_Unstructured_data.py
Browse files
pages/7_Unstructured_data.py
CHANGED
|
@@ -455,7 +455,10 @@ if file_type == "IMAGE":
|
|
| 455 |
st.markdown('''
|
| 456 |
- Translation is a type of affine transformation matrix used to shift the image
|
| 457 |
- It shifts the image both in x-axis direction and y-axis direction
|
| 458 |
-
-
|
|
|
|
|
|
|
|
|
|
| 459 |
- Formula:
|
| 460 |
$$
|
| 461 |
x' = x + t_x \\
|
|
@@ -491,7 +494,10 @@ if file_type == "IMAGE":
|
|
| 491 |
st.subheader('**Rotation**')
|
| 492 |
st.markdown('''
|
| 493 |
- Rotation is a affine transformation matrix which rotates the image at one angle
|
| 494 |
-
-
|
|
|
|
|
|
|
|
|
|
| 495 |
- Formula:
|
| 496 |
$$
|
| 497 |
x' = x \cdot \cos(θ) - y \cdot \sin(θ) \\
|
|
|
|
| 455 |
st.markdown('''
|
| 456 |
- Translation is a type of affine transformation matrix used to shift the image
|
| 457 |
- It shifts the image both in x-axis direction and y-axis direction
|
| 458 |
+
- Formula:
|
| 459 |
+
$$
|
| 460 |
+
I(x,y) \cdot Translation matrix = I'(x',y')
|
| 461 |
+
$$
|
| 462 |
- Formula:
|
| 463 |
$$
|
| 464 |
x' = x + t_x \\
|
|
|
|
| 494 |
st.subheader('**Rotation**')
|
| 495 |
st.markdown('''
|
| 496 |
- Rotation is a affine transformation matrix which rotates the image at one angle
|
| 497 |
+
- Formula:
|
| 498 |
+
$$
|
| 499 |
+
I(x,y) \cdot Rotation matrix = I'(x',y')
|
| 500 |
+
$$
|
| 501 |
- Formula:
|
| 502 |
$$
|
| 503 |
x' = x \cdot \cos(θ) - y \cdot \sin(θ) \\
|