added test goodfeaturetotrack.cpp

Added missed accuracy test for goodFeaturesToTrack functions from opencv_imgproc module
But header types_c.h isn't included in file  ts_func.cpp to  use the original OpenCV enum.

From: Ilya Lavrenov [mailto:notifications@github.com]
Sent: Thursday, December 25, 2014 6:49 PM
To: Itseez/opencv
Cc: Usentsov, Alexander
Subject: Re: [opencv] added test goodfeaturetotrack.cpp (#3540)


In modules/ts/src/ts_func.cpp<https://github.com/Itseez/opencv/pull/3540#discussion-diff-22274098>:

> +

> +/** Threshold types */

> +enum

> +{

> +    tCV_THRESH_BINARY      =0,  /**< value = value > threshold ? max_value : 0       */

> +    tCV_THRESH_BINARY_INV  =1,  /**< value = value > threshold ? 0 : max_value       */

> +    tCV_THRESH_TRUNC       =2,  /**< value = value > threshold ? threshold : value   */

> +    tCV_THRESH_TOZERO      =3,  /**< value = value > threshold ? value : 0           */

> +    tCV_THRESH_TOZERO_INV  =4,  /**< value = value > threshold ? 0 : value           */

> +    tCV_THRESH_MASK        =7,

> +    tCV_THRESH_OTSU        =8, /**< use Otsu algorithm to choose the optimal threshold value;

> +                                 combine the flag with one of the above CV_THRESH_* values */

> +    tCV_THRESH_TRIANGLE    =16  /**< use Triangle algorithm to choose the optimal threshold value;

> +                                 combine the flag with one of the above CV_THRESH_* values, but not

> +                                 with CV_THRESH_OTSU */

> +};

why not? OpenCV TS module depends on imgproc one (see https://github.com/Itseez/opencv/blob/master/modules/ts/CMakeLists.txt#L12)

—
Reply to this email directly or view it on GitHub<https://github.com/Itseez/opencv/pull/3540/files#r22274098>.

--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: Krylatsky Hills Business Park, 
17 Krylatskaya Str., Bldg 4, Moscow 121614, 
Russian Federation

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.