Skip to content

Commit

Permalink
Another oversight.
Browse files Browse the repository at this point in the history
  • Loading branch information
crisluengo committed Nov 29, 2024
1 parent 5b71b9b commit fde5d12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions include/diplib/segmentation.h
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,10 @@ DIP_NODISCARD inline Image Superpixels(
return out;
}

// TODO: Document
// TODO: Implement
//DIP_EXPORT void GraphCut( Image const& in, Image const& markers, Image& out );

/// \endgroup

} // namespace dip
Expand Down
2 changes: 1 addition & 1 deletion src/segmentation/graph_cut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ void adopt_next(
DeQueue< VertexIndex >& orphanNodes,
DeQueue< VertexIndex >& activeNodes
) {
DIP_ASSERT( !orphanNodes.empty() );
DIP_ASSERT( !orphanNodes.Empty() );
VertexIndex orphan = orphanNodes.PopFront();
bool isSource = flowGraph.vertices[ orphan ].root == SOURCE;
// Try to find new parent for orphan
Expand Down

0 comments on commit fde5d12

Please sign in to comment.