Filter löschen
Filter löschen

How to calculate mean and variance of object boundary?

2 Ansichten (letzte 30 Tage)
Afsoon
Afsoon am 8 Dez. 2016
Dear experts,
I'm trying to calculate mean and variance of object boundary as features in image.
I obtained boundary points from "bwboundaries". So I have a matrix n*2 that columns are x and y (the coordination of points on boundary).
My problem is how I can calculate mean and variance of boundary. I mean mean(A,1) and mean(A,2)is a mean point of boundary. Does this make sense?
Does anyone have a mathematics definition for mean and variance of boundary?

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by