[common] multiStep (update/growing) extension of computeMeanAndCovarianceMatrix
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp
- Lĩnh vực
- computer-vision
Hướng nghiên cứu
Bắt đầu với triển khai computeMeanAndCovarianceMatrix hiện có trong common-module, sau đó xem xét API updateMeanAndCovarianceMatrix được đề xuất và cách sử dụng của nó thông qua segment_ByOBBMT -> segment_ByOBBThread -> updateCentroidAndOBB. So sánh các kết quả gia tăng với việc tính toán lại toàn bộ khi đám mây điểm phát triển; được xem là hoàn thành khi phần mở rộng phù hợp để sử dụng chung và duy trì các giá trị trung bình và hiệp phương sai chính xác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In my segmentation developments I needed and implemented an extension of computeMeanAndCovarianceMatrix to apply periodically to the growing segment without having every time to apply the for loops to all points
essentially as the segment/cluster grows, for segmentation conditions, I needed to recompute mean and covariance.
to make each step faster i calculate mean and covariance as a variation of the previously old calculated values, with a for loop only on added points
the function looks like this
template <typename PointT, typename Scalar> inline unsigned int
updateMeanAndCovarianceMatrix (const pcl::PointCloud &cloud,
Eigen::Matrix<Scalar, 3, 3> &covariance_matrix,
Eigen::Matrix<Scalar, 4, 1> ¢roid,
unsigned int oldSize,
size_t & point_count
)
the first time it is called with oldSize=0 and it works exactly as computeMeanAndCovarianceMatrix
new size and point_count are recorded after this first call
the second time it is called with oldSize= size of previous call
inside the for loop will be shorter like
for (size_t i=oldSize; i<cloud.points.size();++i)
{
and then there are specifically developed formulas to update the global values of mean and covariance putting together the old and the new segment of point cloud
the algorithm is effective and fast
it can be reapplied at every added point or every n added points or also non periodically when you need to update mean or covariance as the set changes
at each step you have to pass mean and covariance of previous call,
they will be updated with new values
I thought it might be useful for PCL common module?
you can see it on my fork implemented and used with this chain of calls
segment_ByOBBMT (thread call)-> segment_ByOBBThread -> updateCentroidAndOBB ->updateMeanAndCovarianceMatrix
but it can be used general purpouse
- Ngôn ngữ chính
- C++
- Star
- 11.2k
- Fork
- 4.7k
- Merge trung bình
- 6 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PointCloudLibrary/pcl
-
kind: bug status: triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
PointCloudLibrary/pcl#6536 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
PointCloudLibrary/pcl#6509 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
kind: bug status: triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PointCloudLibrary/pcl#6537 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
[cmake] QHULL/FLANN dll missing when linking single moduleCó thể đã có người làm @SIDDARTHAREDDY8 đã nhận 6 ngày trước. Đang mởkind: bug module: cmake
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 50/100
PointCloudLibrary/pcl#6522 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
kind: bug status: triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
PointCloudLibrary/pcl#6395 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của PointCloudLibrary/pcl
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
HarperFast/rocksdb-js#1131 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/daemon bug good first issue platform/linux priority/p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ToshiNamura/Deimos#5 ·
-
needs-format
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Niko1221/Strata#6251 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
[Bug]: NP 管理器文件编辑器里删除键无效Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
metasequoiaime/msime#11666 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
patrick-hudson/put.gd-desktop#1679 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày