See attached patch. The difference in icvCreateBackgroundData: It now reads the file containing the negative images line based. I.e. each line will be one filename; i.e. it is split now only by newlines. Previously, it was splitted by all space characters, so it was not possible to specify filenames which contains spaces. Cya, Albert