# Revision history [back]

I think that you forgot to remove the parenthesis in one of the parameters of cvSmooth (the (75,75) ). The documentation (here, about cvSmooth) says that you specifies separately the width and the height of the mask.

I think that you forgot to remove the parenthesis in one of the parameters of cvSmooth (the (75,75) ). The documentation (here, about cvSmooth) says that you specifies separately the width and the height of the mask.

EDIT: I think that don't matter if you use (75,75) or 75, 75. I run your program and worked nice. Did it really found your image? Try to verify if it really loaded with a if. Don't forget that OpenCV is case-sensitive on the name of images (at least on the linux).

I think that you forgot to remove the parenthesis in one of the parameters of cvSmooth (the (75,75) ). The documentation (here, about cvSmooth) says that you specifies separately the width and the height of the mask.

EDIT: I think that don't matter if you use (75,75) or 75, 75. I run your program and worked nice. Did it really found your image? Try to verify if it really loaded with a if. if, for example:

if(!img) printf("Could not load image file: %s\n",fileName);


. Don't forget that OpenCV is case-sensitive on the name of images (at least on the in linux).