fix bug 3434
This commit is contained in:
parent
5e47aa6300
commit
6c59e39f7c
@ -192,7 +192,7 @@ Explanation
|
|||||||
|
|
||||||
image.convertTo(new_image, -1, alpha, beta);
|
image.convertTo(new_image, -1, alpha, beta);
|
||||||
|
|
||||||
where :convert_to:`convertTo <>` would effectively perform *new_image = a*image + beta*. However, we wanted to show you how to access each pixel. In any case, both methods give the same result.
|
where :convert_to:`convertTo <>` would effectively perform *new_image = a*image + beta*. However, we wanted to show you how to access each pixel. In any case, both methods give the same result but convertTo is more optimized and works a lot faster.
|
||||||
|
|
||||||
Result
|
Result
|
||||||
=======
|
=======
|
||||||
|
Loading…
Reference in New Issue
Block a user