I am doing a project on image forgery detection in MatLab software. But I am new to both image processing and matlab.
Now I have to calculate horizontal and vertical projection of an image. How to do it in matlab?
I have used
ver=imfilter(edge1,[1 0 -1])
and
hor=imfilter(edge1,[1 0 -1]')
where edge1
is an edge image.
But i am not sure if it is right or not. Edge detection algorithm is based on the standard deviation. I have not used built in edge detection function. I have implemented standard deviation based edge detection.Can anybody help me on this . I need to know this very immediately. Thanks. Expecting your answers........