To vertically symmetry candidates for gradient in MATLAB, you can follow these steps:
imread
function.rgb2gray
function.imgradient
function.imsum
function.imsum
array.fliplr
function.Here is the code to accomplish these steps:
main.m548 chars24 lines
This code will show the original image and its reflection side by side, and you can see the vertical symmetry along the axis.
gistlibby LogSnag