 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
37 const char *
name =
"RGBD_Image")
53 virtual ccBBox getOwnBB(
bool withGLFeatures =
false)
override;
57 inline virtual bool IsEmpty()
const override {
58 return !color_.HasData() || !depth_.HasData();
61 virtual Eigen::Vector2d GetMin2DBound()
const override;
62 virtual Eigen::Vector2d GetMax2DBound()
const override;
74 static std::shared_ptr<RGBDImage> CreateFromColorAndDepth(
77 double depth_scale = 1000.0,
78 double depth_trunc = 3.0,
79 bool convert_rgb_to_intensity =
true);
87 static std::shared_ptr<RGBDImage> CreateFromRedwoodFormat(
90 bool convert_rgb_to_intensity =
true);
98 static std::shared_ptr<RGBDImage> CreateFromTUMFormat(
101 bool convert_rgb_to_intensity =
true);
109 static std::shared_ptr<RGBDImage> CreateFromSUNFormat(
112 bool convert_rgb_to_intensity =
true);
120 static std::shared_ptr<RGBDImage> CreateFromNYUFormat(
123 bool convert_rgb_to_intensity =
true);
129 size_t num_of_levels,
130 bool with_gaussian_filter_for_color =
true,
131 bool with_gaussian_filter_for_depth =
false)
const;
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
FilterType
Specifies the Image filter type.
Definition: Image.h:52
virtual bool isSerializable() const override
Returns whether object is serializable of not.
Definition: RGBDImage.h:46
Image depth_
The depth image.
Definition: RGBDImage.h:137
Bounding box structure.
Definition: ecvBBox.h:25
math::float4 color
Definition: LineSetBuffers.cpp:46
std::vector< std::shared_ptr< RGBDImage > > RGBDImagePyramid
Typedef and functions for RGBDImagePyramid.
Definition: RGBDImage.h:16
RGBDImage(const char *name="RGBD_Image")
Default Constructor.
Definition: RGBDImage.h:30
int64_t CV_CLASS_ENUM
Type of object type flags (64 bits)
Definition: CVTypes.h:97
~RGBDImage() override
Definition: RGBDImage.h:40
virtual bool IsEmpty() const override
Definition: RGBDImage.h:57
@ RGBD_IMAGE
Definition: CVTypes.h:158
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
#define CV_DB_LIB_API
Definition: CV_db.h:15
RGBDImage is for a pair of registered color and depth images,.
Definition: RGBDImage.h:27
virtual CV_CLASS_ENUM getClassID() const override
Returns unique class ID.
Definition: RGBDImage.h:49
Image color_
The color image.
Definition: RGBDImage.h:135
RGBDImage(const Image &color, const Image &depth, const char *name="RGBD_Image")
Parameterized Constructor.
Definition: RGBDImage.h:35
char type
Definition: FileIOFactory.cpp:131
The Image class stores image with customizable width, height, num of channels and bytes per channel.
Definition: Image.h:33
std::string name
Definition: FileIOFactory.cpp:129