0
$\begingroup$

I didn't start using Blender yet since I would like to know whether it's is the correct place to do my work on.

The case is as follows:

I have a mesh (XYZ- coordinates, faces) represented as Graph(the XYZ-coordinate here is the same, having edges now), and I'm trying to do the following (not sure if the process is in this hierarchical), extract descriptors and obtain feature points(coloring them), in order to work on them as featured connected components.

I code in python, I tried to obtain Zernike moments and Fourier transform as descriptors the output is vectors, but I can't visualize these vectors on the mesh? or I wasn't able to do so, as well I need to obtain the feature points.

Is this the right place to work with?

I obtain these result for teapot object

The graph matrix is  [[0 0 0 ... 0 0 1]
 [0 0 0 ... 0 0 1]
 [0 0 0 ... 0 0 1]
 ...
 [0 0 0 ... 0 1 0]
 [0 0 0 ... 1 0 0]
 [1 1 1 ... 0 0 0]]
The zernike moments are:    [0.31830989 0.13789404 0.18738977 0.21210616 0.09979722 0.25386089
 0.16402911 0.29690689 0.26002601 0.12894862 0.07586501 0.48601007
 0.45855364 0.20280874 0.0126834  0.54532024 0.46835978 0.34243193
 0.13314587 0.09234412 0.03764165 0.159134   0.45475221 0.1222509
 0.17898168]
the fourier transorm is:  [[602.983833    +0.j          68.2650495 +308.71994353j
   68.2650495 -308.71994353j]
 [-76.48185048 +58.97442939j -41.7166658  +68.44586843j
  -65.40655281 +99.04981891j]
 [-70.793392   +31.66322377j -78.84787903  +0.77550291j
  -44.83406506  +0.51857595j]
 ...
 [-44.23448408 +10.60125082j -26.79330393 +12.57477038j
  -37.14294225 +40.98371836j]
 [-70.793392   -31.66322377j -44.83406506  -0.51857595j
  -78.84787903  -0.77550291j]
 [-76.48185048 -58.97442939j -65.40655281 -99.04981891j
  -41.7166658  -68.44586843j]]

And I would like to visualize these features on the object but what somebody told me is that I need to get the feature points and these points in which I should colorize them on the object?

$\endgroup$
  • $\begingroup$ The last code part in this answer allows to give vertex groups values in order to see the result blender.stackexchange.com/questions/146819/… Alternatively, you can also add vertex colors $\endgroup$ – lemon Oct 17 at 9:37
  • $\begingroup$ The answer is you can do anything in blender, but you need to at least try. How to Ask. $\endgroup$ – Merlin Oct 17 at 10:02
  • $\begingroup$ The question is clear, but maybe you should indicate which kind of visualization you want for these vectors (as vectors placed at the corresponding points? As colors? others?) $\endgroup$ – lemon Oct 17 at 10:34
  • $\begingroup$ @Merlin what is the problem with my question! $\endgroup$ – Roaa Solh Oct 17 at 10:53
  • $\begingroup$ @lemon , the vectors I obtained is zernike moments for example, but what I did is that I make the input (the whole shape) while I'm reading know that I have to detect interest points(feature points) then for each I make descriptor extraction for all obtained interest point.Visualization is about visualizing the feature points on the shape Zernike Visualize $\endgroup$ – Roaa Solh Oct 17 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.