oops, wrong order
This commit is contained in:
parent
3bd03afd1d
commit
629c2e52c1
@ -78,12 +78,10 @@ namespace methods_private {
|
|||||||
int const t_iter = 0)
|
int const t_iter = 0)
|
||||||
{
|
{
|
||||||
auto temp_image = t_base.clone();
|
auto temp_image = t_base.clone();
|
||||||
// auto const [rand_x, rand_y, size]
|
|
||||||
// = methods_private::getSquareValues(temp_image);
|
|
||||||
auto const [rand_x, rand_y, size]
|
auto const [rand_x, rand_y, size]
|
||||||
= t_controlled_size ? methods_private::getSquareValues(temp_image)
|
= t_controlled_size ? methods_private::getControlledSquareValues(
|
||||||
: methods_private::getControlledSquareValues(
|
temp_image, t_init_iter, t_iter)
|
||||||
temp_image, t_init_iter, t_iter);
|
: methods_private::getSquareValues(temp_image);
|
||||||
methods_private::newSquare2(temp_image, cv::Point{rand_x, rand_y}, size,
|
methods_private::newSquare2(temp_image, cv::Point{rand_x, rand_y}, size,
|
||||||
t_colors[rand() % t_colors.size()]);
|
t_colors[rand() % t_colors.size()]);
|
||||||
auto new_diff = euclidian_distance(t_ref, temp_image);
|
auto new_diff = euclidian_distance(t_ref, temp_image);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user