mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
Merge pull request #26117 from FantasqueX:update-remap-tutorial-1
Update remap tutorial
This commit is contained in:
commit
6cc166985d
@ -45,7 +45,7 @@ Theory
|
|||||||
|
|
||||||
![](images/Remap_Tutorial_Theory_0.jpg)
|
![](images/Remap_Tutorial_Theory_0.jpg)
|
||||||
|
|
||||||
observe how the red circle changes positions with respect to x (considering \f$x\f$ the horizontal
|
observe how the red circle changes positions with respect to \f$x\f$ (considering \f$x\f$ the horizontal
|
||||||
direction):
|
direction):
|
||||||
|
|
||||||
![](images/Remap_Tutorial_Theory_1.jpg)
|
![](images/Remap_Tutorial_Theory_1.jpg)
|
||||||
@ -62,19 +62,19 @@ Code
|
|||||||
- Wait for the user to exit the program
|
- Wait for the user to exit the program
|
||||||
|
|
||||||
@add_toggle_cpp
|
@add_toggle_cpp
|
||||||
- The tutorial code's is shown lines below. You can also download it from
|
- The tutorial code is shown lines below. You can also download it from
|
||||||
[here](https://github.com/opencv/opencv/tree/4.x/samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp)
|
[here](https://github.com/opencv/opencv/tree/4.x/samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp)
|
||||||
@include samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp
|
@include samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp
|
||||||
@end_toggle
|
@end_toggle
|
||||||
|
|
||||||
@add_toggle_java
|
@add_toggle_java
|
||||||
- The tutorial code's is shown lines below. You can also download it from
|
- The tutorial code is shown lines below. You can also download it from
|
||||||
[here](https://github.com/opencv/opencv/tree/4.x/samples/java/tutorial_code/ImgTrans/remap/RemapDemo.java)
|
[here](https://github.com/opencv/opencv/tree/4.x/samples/java/tutorial_code/ImgTrans/remap/RemapDemo.java)
|
||||||
@include samples/java/tutorial_code/ImgTrans/remap/RemapDemo.java
|
@include samples/java/tutorial_code/ImgTrans/remap/RemapDemo.java
|
||||||
@end_toggle
|
@end_toggle
|
||||||
|
|
||||||
@add_toggle_python
|
@add_toggle_python
|
||||||
- The tutorial code's is shown lines below. You can also download it from
|
- The tutorial code is shown lines below. You can also download it from
|
||||||
[here](https://github.com/opencv/opencv/tree/4.x/samples/python/tutorial_code/ImgTrans/remap/Remap_Demo.py)
|
[here](https://github.com/opencv/opencv/tree/4.x/samples/python/tutorial_code/ImgTrans/remap/Remap_Demo.py)
|
||||||
@include samples/python/tutorial_code/ImgTrans/remap/Remap_Demo.py
|
@include samples/python/tutorial_code/ImgTrans/remap/Remap_Demo.py
|
||||||
@end_toggle
|
@end_toggle
|
||||||
|
Loading…
Reference in New Issue
Block a user