mirror of
https://github.com/karma-riuk/hdr_esim.git
synced 2024-11-16 19:30:26 +01:00
commmented out the image callback from the hdr publisher because it
wasn't getting the motion blured version of the images
This commit is contained in:
parent
a4d013c9d7
commit
200975a3f0
@ -100,14 +100,14 @@ namespace event_camera_simulator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void HdrPublisher::imageCallback(const ImagePtrVector& images, Time t) {
|
void HdrPublisher::imageCallback(const ImagePtrVector& images, Time t) {
|
||||||
CHECK_EQ(images.size(), 1);
|
// CHECK_EQ(images.size(), 1);
|
||||||
static uint frame_number = 0;
|
// static uint frame_number = 0;
|
||||||
std::stringstream ss;
|
// std::stringstream ss;
|
||||||
ss << output_folder_ << "/frames/frame_" << std::setfill('0')
|
// ss << output_folder_ << "/frames/frame_" << std::setfill('0')
|
||||||
<< std::setw(5) << frame_number++ << ".exr";
|
// << std::setw(5) << frame_number++ << ".exr";
|
||||||
std::string frame_path = ss.str();
|
// std::string frame_path = ss.str();
|
||||||
|
//
|
||||||
cv::imwrite(frame_path, *images[0]);
|
// cv::imwrite(frame_path, *images[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HdrPublisher::eventsCallback(const EventsVector& events) {
|
void HdrPublisher::eventsCallback(const EventsVector& events) {
|
||||||
|
Loading…
Reference in New Issue
Block a user