Go to the documentation of this file.
33 f_in.
open(filename.
c_str(), std::ifstream::binary);
50 f_in.
open(filename.
c_str(), std::ifstream::binary);
75 readImageMask(filename +
".mask", mask);
96 buffer << f_in.
rdbuf();
155 if (r.
readValue(
"image_file", rgbd_filename) && r.
readValue(
"mask_file", mask_filename))
163 readImageMask(base_path +
"/" + mask_filename, mask);
void calculateEdgesAndNormals(ConvexHull &chull)
shared_ptr< Measurement > MeasurementPtr
bool deserialize(io::Reader &r, UpdateRequest &req)
bool deserialize(tue::serialization::InputArchive &a, Image &image)
bool readValue(const std::string &, float &f)
bool readArray(const std::string &name)
bool readGroup(const std::string &name)
void setPose(const UUID &id, const geo::Pose3D &pose)
void setConvexHullNew(const UUID &id, const ed::ConvexHull &convex_hull, const geo::Pose3D &pose, double time, std::string source="")
void setType(const UUID &id, const std::string &type)
std::shared_ptr< Image > ImagePtr
bool readEntity(const std::string &filename, UpdateRequest &req)
void addMeasurement(const UUID &id, const MeasurementConstPtr &m)
const std::string & string() const
bool read(const std::string &filename, Measurement &msr)
void calculateArea(ConvexHull &c)
calculateArea calculate the area of the ConvexHull in xy-plane.
std::vector< geo::Vec2f > points