[MINC-development] [RFC] [WIP] minc-diff-labels, diff and patch tools for minc label files

Andrew Janke a.janke at gmail.com
Tue Jan 23 08:57:02 EST 2018


Looks reasonable.

It's sort of for the same purpose (but different), but have you seen this thing?

   https://github.com/BIC-MNI/classify/blob/master/voldiff.c

At times it looks like there is a war going on in the code but it can
apparently compare labels and produce comparison stats. I recall using
it once or twice.

a


On 23 January 2018 at 12:27, Gabriel A. Devenyi
<gabriel.devenyi at mcgill.ca> wrote:
> Hi minc-users,
>
> Inspired by a discussion I had with Dr. Mallar Chakravary and Dr. Jason
> Lerch about tracking changes of label files, I recently attempted to produce
> a data format and tools to compute differences between label files, and
> store and apply differences, akin to the diff and patch tools for source
> code.
>
> I've produced a proof of concept implementation of the diff and patch tools
> at https://github.com/gdevenyi/minc-diff-labels
>
> Its probably fragile in a number of places, particularly, renumbering of
> labels. Right now it assumes the label files are dimensionally is the same.
>
> My initial applications are
> - tracking changes to manual label sets (maybe via special git diff hooks? a
> la git-latexdiff, https://gitlab.com/git-latexdiff/git-latexdiff)
> - Comparing segmentations from different tools/parameters for a segmentation
> pipeline
>
> I'd like to hear about your possible applications of something like this.
> Comments and questions also welcome.
>
> _______________________________________________
> MINC-development mailing list
> MINC-development at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-development
>


More information about the MINC-development mailing list