Smooth 2D data in non-regular distribution pattern for colormap-based representation
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone
I have a discrete set of data which looks like the one represented by the dots within the white background-based region displayed in this sketch![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1608826/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1608826/image.png)
My goal is to obtain a smoother data set in the aforementioned region to represent it through the image environment. My approach to this problem, usually, would be to use RegularizeData3D, as suggested by @Mathieu NOE in his answer to a previous post, Smooth 2D colormap based on non-evenly distributed data. However, in this case, due to the spatial distribution, this approach does not seem very appropiate. Could someone recommend a way to increase the number of points within the white region, without potential interpolation being affected by the non-existence of values in the out-of-borders-based gray area?
0 comentarios
Respuestas (1)
Image Analyst
el 6 de Feb. de 2024
You could use the convex hull and then use linspace to create more points in between the vertices. But like I said in your other post, I don't think you need to smooth your data.
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!