|
|
|
@ -45,7 +45,7 @@ Theory |
|
|
|
|
|
|
|
|
|
![](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): |
|
|
|
|
|
|
|
|
|
![](images/Remap_Tutorial_Theory_1.jpg) |
|
|
|
@ -62,19 +62,19 @@ Code |
|
|
|
|
- Wait for the user to exit the program |
|
|
|
|
|
|
|
|
|
@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) |
|
|
|
|
@include samples/cpp/tutorial_code/ImgTrans/Remap_Demo.cpp |
|
|
|
|
@end_toggle |
|
|
|
|
|
|
|
|
|
@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) |
|
|
|
|
@include samples/java/tutorial_code/ImgTrans/remap/RemapDemo.java |
|
|
|
|
@end_toggle |
|
|
|
|
|
|
|
|
|
@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) |
|
|
|
|
@include samples/python/tutorial_code/ImgTrans/remap/Remap_Demo.py |
|
|
|
|
@end_toggle |
|
|
|
|