C++ Image Segmentation
I am trying to find code to use for an image segementation program. I have found some code but am having trouble trying to get it running. The source code is too big to post, but it is all available to download at Image Segmentation. The problem i am having is an error that is coming up from the 'segment-image.h' file:
[Error] ... \segment-image.h:33: implicit declaration of function 'int random(...)'
Any help on getting this running would be much appreciated.
random is a POSIX standard command, not a standard C command. If you're on (say) Microsoft Windows, then it isn't there.
Ok thanks, is there a windows alternative to the random function that i can use instead then?
You could use the standard C rand() function.