<commit_before><<<<<<< HEAD
# Cosegmentation
=======
# Cosegenation
>>>>>>> 271cfe77723923d51d8fc95a3a8e03f49b41125c
This is the code for:

*Discriminative Clustering for Image Co-segmentation
<NAME>, <NAME> and <NAME>.
CVPR, 2010.
*Multi-Class Cosegmentation
<NAME>, <NAME> and <NAME>.
CVPR, 2012.

Please these papers if you use this code (bibtex below).

<<<<<<< HEAD
## Requirements:
=======
## REQUIREMENTS:
>>>>>>> 271cfe77723923d51d8fc95a3a8e03f49b41125c

You need the vlfeat image toolbox by <NAME> and <NAME>:
http://www.vlfeat.org/

You need Mark Schmidt's optimization toolbox:
http://www.di.ens.fr/~mschmidt/Software/minFunc.html

<<<<<<< HEAD
## Install:
=======
## INSTALL:
>>>>>>> 271cfe77723923d51d8fc95a3a8e03f49b41125c
run mexAll.m in MATLAB to compile all mex files

RUN IT:
There are three examples:
*coseg_example.m : classical coseg example
*multicoseg_example.m : multiclass coseg example
*grabcut_example.m : grabcut example on single image (note that you can use it on multiple images)

<<<<<<< HEAD
## Import options:
=======
# IMPORT OPTIONS:
>>>>>>> 271cfe77723923d51d8fc95a3a8e03f49b41125c
*param.onlyDiffrac : To run the cvpr'10 alone 
*param.initDiffac : Initialize the cvpr'12 cod by the cvpr'10 one 
*param.useMask : to use boundingboxes (i.e. grabcut)

*typeFeat : either 'color' or 'sift'
*typeKernel : either 'chi2' or 'Hellsinger'

<<<<<<< HEAD
## Contact:
Please if you have questions or problems, contact:
armand.joulin at gmail.com

## Bibtex:
=======
## CONTACT:
Please if you have questions or problems, contact:
armand.joulin at gmail.com

## BIBTEX:
>>>>>>> 271cfe77723923d51d8fc95a3a8e03f49b41125c
@InProceedings{JouBacPon12,
   title = "Multi-Class Cosegmentation",
   booktitle = "Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR)",
   author = "<NAME> and <NAME> and <NAME>",
   year = "2012"
}

@InProceedings{JouBacPonc10_cvpr,
   title = "Discriminative Clustering for Image Co-segmentation",
   booktitle = "Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR)",
   author = "<NAME> and <NAME> and <NAME>",
   year = "2010"
}
<commit_msg>change README.md<commit_after># Cosegmentation
This is the code for:

*Discriminative Clustering for Image Co-segmentation
<NAME>, <NAME> and <NAME>.
CVPR, 2010.
*Multi-Class Cosegmentation
<NAME>, <NAME> and <NAME>.
CVPR, 2012.

Please these papers if you use this code (bibtex below).

## Requirements:

You need the vlfeat image toolbox by <NAME> and <NAME>:
http://www.vlfeat.org/

You need <NAME>'s optimization toolbox:
http://www.di.ens.fr/~mschmidt/Software/minFunc.html

## Install:
run mexAll.m in MATLAB to compile all mex files

## Run it:
There are three examples:
*coseg_example.m : classical coseg example
*multicoseg_example.m : multiclass coseg example
*grabcut_example.m : grabcut example on single image (note that you can use it on multiple images)

## Import options:
*param.onlyDiffrac : To run the cvpr'10 alone 
*param.initDiffac : Initialize the cvpr'12 cod by the cvpr'10 one 
*param.useMask : to use boundingboxes (i.e. grabcut)

*typeFeat : either 'color' or 'sift'
*typeKernel : either 'chi2' or 'Hellsinger'

## Contact:
Please if you have questions or problems, contact:
armand.joulin at gmail.com

## Bibtex:
## Contact:
Please if you have questions or problems, contact:
armand.joulin at g<EMAIL>.com

## Bibtex:
@InProceedings{JouBacPon12,
   title = "Multi-Class Cosegmentation",
   booktitle = "Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR)",
   author = "<NAME> and <NAME> and <NAME>",
   year = "2012"
}

@InProceedings{JouBacPonc10_cvpr,
   title = "Discriminative Clustering for Image Co-segmentation",
   booktitle = "Proceedings of the Conference on Computer Vision and Pattern Recognition (CVPR)",
   author = "<NAME> and <NAME> and <NAME>",
   year = "2010"
}

{'fraction_non_alphanumeric': 0.12535392535392537, 'fraction_numerical': 0.04864864864864865, 'mean_word_length': 5.024806201550388, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 0, '>': 68, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2692550', 'n_tokens_mistral': 1524, 'n_tokens_neox': 1354, 'n_words': 423}