mirror of
https://github.com/karma-riuk/hdr_esim.git
synced 2024-11-16 11:20:25 +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) {
|
||||
CHECK_EQ(images.size(), 1);
|
||||
static uint frame_number = 0;
|
||||
std::stringstream ss;
|
||||
ss << output_folder_ << "/frames/frame_" << std::setfill('0')
|
||||
<< std::setw(5) << frame_number++ << ".exr";
|
||||
std::string frame_path = ss.str();
|
||||
|
||||
cv::imwrite(frame_path, *images[0]);
|
||||
// CHECK_EQ(images.size(), 1);
|
||||
// static uint frame_number = 0;
|
||||
// std::stringstream ss;
|
||||
// ss << output_folder_ << "/frames/frame_" << std::setfill('0')
|
||||
// << std::setw(5) << frame_number++ << ".exr";
|
||||
// std::string frame_path = ss.str();
|
||||
//
|
||||
// cv::imwrite(frame_path, *images[0]);
|
||||
}
|
||||
|
||||
void HdrPublisher::eventsCallback(const EventsVector& events) {
|
||||
|
Loading…
Reference in New Issue
Block a user