Matrix center-symetry meter

3 Ansichten (letzte 30 Tage)
Alex Kurek
Alex Kurek am 14 Dez. 2015
Beantwortet: Image Analyst am 15 Dez. 2015
How to check how much symetric around it`s center is this type of matrix? I think there should be a lot easier and faster way than to fit a Gaussian surface?

Akzeptierte Antwort

Image Analyst
Image Analyst am 15 Dez. 2015
The "skewness" is one of the image moments https://en.wikipedia.org/wiki/Image_moment image moments and is a measure of how asymmetrical a function is. See my attached demo.

Weitere Antworten (1)

Star Strider
Star Strider am 14 Dez. 2015
The contour function is one option. You can specify one or more specific contours, then use the output to do whatever symmetry calculations you want to on the (x,y) data it returns.
  2 Kommentare
Alex Kurek
Alex Kurek am 15 Dez. 2015
Bearbeitet: Alex Kurek am 15 Dez. 2015
Its a good idea, but our data is not big enought, and we need to perform this process ~bilion times. Is there any other method, with would threat equally anyt assymetry, no mater what is the azimuth from the center?
I know that this kind of possibility exist:
sum(sum(abs(onlyGaussian-onlyGaussian')))
But it will not detect assymetry in all directions. It is very fast, thought.
Star Strider
Star Strider am 15 Dez. 2015
The contour function is the only option I know of that will give you the (x,y) data that would allow you to calculate the results you likely need. There may be functions in the Image Processing Toolbox, but I doubt they would be faster.
I will delete my Answer in a few hours.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by