Commit b8294c11 authored by Baptiste Esteban's avatar Baptiste Esteban
Browse files

Add comment + make dir hqueue coding style

parent 8b0eda67
Pipeline #28021 passed with stages
in 37 minutes and 47 seconds
......@@ -37,6 +37,8 @@ namespace mln::morpho
namespace internal
{
/// \brief Canvas for the edges in the alphatree. Using different data
/// structures related to the type of the edges.
template <typename I, typename N, typename W>
class alphatree_edges;
......
......@@ -89,12 +89,14 @@ TEST(Morpho, DirectionalHQueueC8)
TEST(Morpho, DirectionalHQueueC6)
{
mln::image3d<std::uint8_t> ima = {{
{10, 15, 32}, //
{12, 16, 8}, //
{7, 28, 20} //
},
{{12, 6, 3}, {27, 1, 9}, {7, 15, 2}}};
mln::image3d<std::uint8_t> ima = {
{{10, 15, 32}, //
{12, 16, 8}, //
{7, 28, 20}}, //
{{12, 6, 3}, //
{27, 1, 9}, //
{7, 15, 2}} //
};
auto dist = [](std::uint8_t a, std::uint8_t b) -> std::uint8_t { return mln::functional::l2dist_t<>()(a, b); };
using F = decltype(dist);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment