# Point Cloud Denoising with Sparse Modeling Hi! I’m Yushiro Yamashita, a data scientist at HACARUS. Today, I will like to introduce the application of sparse modeling to point cloud data.

## Point Cloud

I want to first start by introducing what point cloud is. Point cloud is a three-dimensional data in which the coordinate values of each point are recorded in a format such as (x, y, z). Unlike image and video data, point cloud has a unique characteristic that the data are not arranged regularly at all points on the coordinates (Fig. 1), meaning subspaces do not contain any points. Fig. 1. Point Cloud image

Point cloud is obtained from LiDAR , which is a technology that measures the distance to an object by measuring the scattering of pulsed laser light (Fig. 2) . Fig. 2. LiDAR image 

Since LiDAR has been attracting attention for autonomous robots and vehicles , the demand has been increasing in recent years and is expected that the market will expand to 6 Billion USD by 2024 (Fig. 3) . With this trend, data processing method for point cloud is strongly desired. Fig. 3. Expected market growth for LiDAR 

## Point Cloud and Sparse Modeling

At HACARUS, we tried noise reduction (denoise) with the purpose of “applying sparse modeling to point cloud data processing”.

It has already been confirmed that denoise methods based on the sparse modeling are effective in the field of image and video processing (Fig. 4). Fig. 4. Example of denoising an image using sparse modeling

Sparse modeling can be used in the same way to denoise point cloud data as well. Therefore, we experimented with this approach.

## Why we denoise

Let’s take LiDAR as an example to see why denoising is necessary in the first place.

Data acquired by sensors in the real world usually contains noise. In terms of LiDAR, ambient light such as sunlight would be the main noise (Fig. 5) . Fig. 5 Image of data with noise 

In this figure, the left image is the data with noise and the right image is the filtered data (close to the original data).

If you tried to use this data as is, for example in object detection, you can’t expect good detection results. Therefore, denoising is essential in order to utilize point cloud data.

### Denoise technique and results

The method we used was based on the paper, “Cloud Dictionary: Sparse Coding and Modeling for Point Clouds”  published in December 2016. The main processes were “split into patches”, “principal component analysis”, “reconstruction with dictionaries”, and “combine reconstructed patches”. Sparse modeling was used in the “reconstruction with dictionaries” step (Fig. 6). For a detailed explanation, we offer an AI consulting service or training program where you can learn how to understand and manage data and how to develop the algorithm in detail. Feel free to contact us if you’re interested to learn more. Fig. 6 Overall flow of denoising

We used a rabbit-shaped point cloud data (129,551 points on coordinate values of (x, y, z) for each point) as a ground truth (Fig. 7) . We added Gaussian noise to obtain a noisy point cloud (Fig. 8). We aim to denoise this point cloud and make it closer to the ground truth. Fig. 7 The ground truth Fig.8 Noisy point cloud

The results after denoising on this rabbit-shaped point cloud data are shown below: Fig. 9 Denoised point cloud Fig. 10 Comparison

Compared to the noisy point cloud (orange dots), you can see that the noises are reduced properly (Fig. 10). We’ll compare the results with the ground truth data (Fig. 11). From the left, the figure shows the denoised, noisy, and ground truth point clouds. The results viewed from different angles are arranged vertically. Fig. 11 16 Point cloud comparison of denoised, noisy, and ground truth results from various angles

## Summary

We tried sparse modeling denoising on 3D point cloud data. As a result, we were able to confirm that sparse modeling was indeed effective for denoising point cloud data. If you are if you’re interested in learning more about how HACARUS can use its technology to help you with your AI needs, feel free to contact us using the form below.

## References

 ‘Lidar’ Wikipedia,https://en.wikipedia.org/wiki/Lidar

 ‘Automated guided vehicle’ Wikipedia, ttps://en.wikipedia.org/wiki/Automated_guided_vehicle

 ‘LiDAR for Automotive and Industrial Applications 2019’ Yole Development
{"ft_lang_label":"__label__en","ft_lang_prob":0.8658789,"math_prob":0.8422565,"size":5095,"snap":"2022-27-2022-33","text_gpt3_token_len":1231,"char_repetition_ratio":0.136319,"word_repetition_ratio":0.012987013,"special_character_ratio":0.22728164,"punctuation_ratio":0.12923077,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95668876,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24],"im_url_duplicate_count":[null,4,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-05T16:36:01Z\",\"WARC-Record-ID\":\"<urn:uuid:a9d35259-1e0d-475c-a730-ce8338025c65>\",\"Content-Length\":\"96166\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b5f7531b-10aa-486e-b46f-79aad6d1356d>\",\"WARC-Concurrent-To\":\"<urn:uuid:9275dbb5-bd12-4538-9746-f8511001c851>\",\"WARC-IP-Address\":\"35.213.139.153\",\"WARC-Target-URI\":\"https://hacarus.com/information/tech/20201111-point-cloud-denoising/\",\"WARC-Payload-Digest\":\"sha1:UWRJZVREDTR53ZE4KPSUKQHCEOQ5KQS2\",\"WARC-Block-Digest\":\"sha1:4XOI3PCM3WECLBCHX33EKUAKIWO5JETA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104585887.84_warc_CC-MAIN-20220705144321-20220705174321-00156.warc.gz\"}"}