SegmentImage parallel patch

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
perrejba

SegmentImage parallel patch

Post by perrejba »

Hi,

I made some improvements in segment.c, more specifically in function Classify, exploiting parallelism via OpenMP.
I've verified a speedup of almost 4 times in a quad-core system.

http://rapidshare.com/files/114180451/s ... patch.html

I hope this can be used =D
perrejba

Re: SegmentImage parallel patch

Post by perrejba »

Hi folks,

Sorry, the previous patch had a little problem in the way I replaced one of the breaks in the end of the for that was parallelized

This patch fixes this:
http://www.inf.ufsc.br/~danielpv/patch. ... ment.patch

EDIT: The url was wrong before and was corrected!
Post Reply