You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #1506 <https://github.com/MRPT/mrpt/issues/1506>_ from MRPT/feat/graphs-dijkstra-edge-weight
mrpt_graphs Python: Dijkstra with custom edge costs, dijkstra_tree(); link the Python notebooks in the docs
CDijkstra: fix build on macOS, where TNodeID and the neighbor IDs differ in type
CDijkstra: with custom edge costs, use the cheapest of several edges between two nodes
Only the first edge stored as u->i was costed, ignoring a cheaper reverse
(i->u) or parallel edge. Python docs: e.mean.norm() for Gaussian edges, and
notebook local-run instructions.
mrpt_graphs Python: custom edge costs in Dijkstra, and dijkstra_tree()
dijkstra_path() and getNodeDistances() accept an optional
edge_weight(from_id, to_id, edge) -> float function (default: one per edge),
e.g. edge.norm() for metric distances. The new dijkstra_tree() returns the
shortest-path spanning tree as {node: parent}.
Contributors: Jose Luis Blanco-Claraco
mrpt_img
Merge pull request #1505 <https://github.com/MRPT/mrpt/issues/1505>_ from MRPT/feat/turbo-colormap
mrpt_img: add the Turbo colormap
mrpt_img: Turbo colormap: Python stubs, Apache-2.0 notice of the polynomial fit, lightness note
mrpt_img: Turbo colormap (cmTURBO, turbo2rgb())
Google's Turbo colormap, as a degree-5 polynomial fit, available through
mrpt::img::colormap() and in Python, and as a choice in the imgui apps
point cloud coloring.
Contributors: Jose Luis Blanco-Claraco
mrpt_maps
recolorize3Dpc: precise outlier percentiles with far outliers; honor pinned colormap limits (#1509 <https://github.com/MRPT/mrpt/issues/1509>_)
The histogram that finds the outlier percentiles spans the raw data range,
so a few far points made its bins wider than the rest of the data: both
limits could fall in the same bin and the cloud got a single color. The
search is now repeated within the bins where the limits fell, and the upper
limit is the upper edge of its bin.
colorMapMinCoord / colorMapMaxCoord were documented but ignored (they only
disabled the outlier rejection). They now set the colormap limits, and
pinning one of them keeps the outlier rejection for the other.
Contributors: Jose Luis Blanco-Claraco
mrpt_apps_gui
Merge pull request #1505 <https://github.com/MRPT/mrpt/issues/1505>_ from MRPT/feat/turbo-colormap
mrpt_img: add the Turbo colormap
mrpt_img: Turbo colormap (cmTURBO, turbo2rgb())
Google's Turbo colormap, as a degree-5 polynomial fit, available through
mrpt::img::colormap() and in Python, and as a choice in the imgui apps
point cloud coloring.