1
0
mirror of https://github.com/2martens/uni.git synced 2026-05-06 11:26:25 +02:00

[CVV] Added ability to get layers of laplacian pyramid

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-05-12 15:17:06 +02:00
parent 6bcf879da7
commit c5c9d2d95c
2 changed files with 21 additions and 0 deletions

View File

@ -9,3 +9,11 @@ laplacian_pyramid::laplacian_pyramid(const gauss_pyramid &pyramid, float sigma)
_layers.push_back(pyramid.get(i) - blurred);
}
}
cv::Mat laplacian_pyramid::get(int layer) const {
return _layers.at((unsigned long) layer);
}
unsigned long laplacian_pyramid::get_number_of_layers() const {
return _layers.size();
}