python - Calculating and Plotting 2nd moment of image -


i trying plot 2nd moments onto image file (the image file numpy array brightness distribution). have rough understanding 2nd moment sort of moment of inertia (ixx,iyy) tensor not sure how calculate , how translate 2 intersecting lines centroid @ intersection. tried using scipy.stats.mstats.moment unsure put axis if want 2 2nd moments intersects @ centroid.

also returns array not sure values in array signify, , how relate going plot (because scatter method in plotting module takes in @ least 2 corresponding values in order plotted) ?

thank you.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -