Merge pull request #26117 from FantasqueX:update-remap-tutorial-1

Update remap tutorial
This commit is contained in:
Alexander Smorkalov 2024-09-06 08:53:19 +03:00 committed by GitHub
commit 6cc166985d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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