mirror of
https://github.com/2martens/uni.git
synced 2026-05-06 19:36:26 +02:00
[CCV] Added ability to visualize feature maps
Signed-off-by: Jim Martens <github@2martens>
This commit is contained in:
@ -133,3 +133,19 @@ void lab_pyramid::visualize_dog() {
|
||||
cv::waitKey(0);
|
||||
}
|
||||
}
|
||||
|
||||
void lab_pyramid::visualize_feature_maps() {
|
||||
cv::namedWindow("CS F L");
|
||||
cv::imshow("CS F L", _cs_F_l);
|
||||
cv::namedWindow("CS F L");
|
||||
cv::imshow("SC F L", _sc_F_l);
|
||||
cv::namedWindow("CS F A");
|
||||
cv::imshow("CS F A", _cs_F_a);
|
||||
cv::namedWindow("SC F A");
|
||||
cv::imshow("SC F A", _sc_F_a);
|
||||
cv::namedWindow("CS F B");
|
||||
cv::imshow("CS F B", _cs_F_b);
|
||||
cv::namedWindow("CS F B");
|
||||
cv::imshow("SC F B", _sc_F_b);
|
||||
cv::waitKey(0);
|
||||
}
|
||||
|
||||
@ -85,6 +85,12 @@ public:
|
||||
* Has to be called after compute_dog.
|
||||
*/
|
||||
void static compute_feature_maps();
|
||||
|
||||
/**
|
||||
* Visualizes the feature maps.
|
||||
* Has to be called after compute_feature_maps.
|
||||
*/
|
||||
void static visualize_feature_maps();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user