Select Git revision
vertical_path_aggregation.hpp

#379 Min Disparity in SGM
Nicolas Pope authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
vertical_path_aggregation.hpp 1.29 KiB
/*
Copyright 2016 Fixstars Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http ://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#ifndef SGM_VERTICAL_PATH_AGGREGATION_HPP
#define SGM_VERTICAL_PATH_AGGREGATION_HPP
#include "types.hpp"
namespace sgm {
namespace path_aggregation {
template <unsigned int MAX_DISPARITY>
void enqueue_aggregate_up2down_path(
cost_type *dest,
const feature_type *left,
const feature_type *right,
int width,
int height,
unsigned int p1,
const uint8_t *p2,
int p2_pitch,
const uint8_t* w,
int w_pitch,
int min_disp,
cudaStream_t stream);
template <unsigned int MAX_DISPARITY>
void enqueue_aggregate_down2up_path(
cost_type *dest,
const feature_type *left,
const feature_type *right,
int width,
int height,
unsigned int p1,
const uint8_t *p2,
int p2_pitch,
const uint8_t* w,
int w_pitch,
int min_disp,
cudaStream_t stream);
}
}
#endif