From c6f9510bcb754afaadfe9477ff85d6c55ffcf43b Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 30 Mar 2021 10:03:01 +0100 Subject: Remove Computer Vision generic interfaces and types Removes: - reference validation routines - CV related types and structures - CV related interfaces Signed-off-by: Georgios Pinitas Change-Id: I3a203da12d9b04c154059b190aeba18a611149a9 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5340 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- tests/Types.h | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) (limited to 'tests/Types.h') diff --git a/tests/Types.h b/tests/Types.h index c8e9a755a7..5d5a8207d5 100644 --- a/tests/Types.h +++ b/tests/Types.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2019 Arm Limited. + * Copyright (c) 2017-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -30,14 +30,6 @@ namespace arm_compute { -/** Gradient dimension type. */ -enum class GradientDimension -{ - GRAD_X, /**< x gradient dimension */ - GRAD_Y, /**< y gradient dimension */ - GRAD_XY, /**< x and y gradient dimension */ -}; - /** Min and max values and locations */ template struct MinMaxLocationValues @@ -47,37 +39,5 @@ struct MinMaxLocationValues std::vector min_loc{}; /**< Min value location */ std::vector max_loc{}; /**< Max value location */ }; - -/** Parameters of Optical Flow algorithm. */ -struct OpticalFlowParameters -{ - OpticalFlowParameters(Termination termination, - float epsilon, - size_t num_iterations, - size_t window_dimension, - bool use_initial_estimate) - : termination{ std::move(termination) }, - epsilon{ std::move(epsilon) }, - num_iterations{ std::move(num_iterations) }, - window_dimension{ std::move(window_dimension) }, - use_initial_estimate{ std::move(use_initial_estimate) } - { - } - - Termination termination; - float epsilon; - size_t num_iterations; - size_t window_dimension; - bool use_initial_estimate; -}; - -/** Internal keypoint class for Lucas-Kanade Optical Flow */ -struct InternalKeyPoint -{ - float x{ 0.f }; /**< x coordinate of the keypoint */ - float y{ 0.f }; /**< y coordinate of the keypoint */ - bool tracking_status{ false }; /**< the tracking status of the keypoint */ -}; - } // namespace arm_compute #endif /* ARM_COMPUTE_TEST_TYPES_H */ -- cgit v1.2.1