You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

FineMapping.h 630 B

6 years ago
1234567891011121314151617181920212223242526272829303132
  1. //
  2. // Created by 庾金科 on 22/09/2017.
  3. //
  4. #ifndef SWIFTPR_FINEMAPPING_H
  5. #define SWIFTPR_FINEMAPPING_H
  6. #include <opencv2/opencv.hpp>
  7. #include <opencv2/dnn.hpp>
  8. #include <string>
  9. namespace pr{
  10. class FineMapping{
  11. public:
  12. FineMapping();
  13. FineMapping(std::string prototxt,std::string caffemodel);
  14. static cv::Mat FineMappingVertical(cv::Mat InputProposal,int sliceNum=15,int upper=0,int lower=-50,int windows_size=17);
  15. cv::Mat FineMappingHorizon(cv::Mat FinedVertical,int leftPadding,int rightPadding);
  16. private:
  17. cv::dnn::Net net;
  18. };
  19. }
  20. #endif //SWIFTPR_FINEMAPPING_H