Skip to content

create graphs from the SLIC segments#205

Open
alivcor wants to merge 1 commit into
pystruct:masterfrom
alivcor:patch-1
Open

create graphs from the SLIC segments#205
alivcor wants to merge 1 commit into
pystruct:masterfrom
alivcor:patch-1

Conversation

@alivcor
Copy link
Copy Markdown

@alivcor alivcor commented May 30, 2017

For segmentation, it is crucial create graphs from an image. This function can be used alongwith SLIC to get a set of edges and vertices as required by PyStruct library.

Input :param grid: A grid of segments as returned by the slic function defined in skimage library
Output :return: A graph as [vertices, edges]

For segmentation, it is crucial create graphs from an image. This function can be used alongwith SLIC to get a set of edges and vertices as required by PyStruct library.
@amueller
Copy link
Copy Markdown
Member

thanks for the contribution and sorry for the slow reply.
Can you add an example that uses this code, as well as documentation and tests?
The reason why I haven't included this in the repo is because pystruct doesn't rely on any segmentation algorithms as it's domain agnostic. It would be better to have this in an image segmentation package, I think. Unfortunately I never got around to write a tutorial or package to do the full pipeline in a clean way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants