2020-01-08 11:42:42 -0600 | received badge | ● Famous Question (source) |
2018-11-17 02:52:17 -0600 | received badge | ● Notable Question (source) |
2018-05-09 06:49:46 -0600 | received badge | ● Popular Question (source) |
2017-07-25 02:10:17 -0600 | received badge | ● Enthusiast |
2017-07-23 23:45:59 -0600 | received badge | ● Self-Learner (source) |
2017-07-23 23:20:20 -0600 | answered a question | Calculating image moments after connected component labeling function I managed to solve my problem by using the information provided by the statistics output for each label With this information I created a ROI (Region of Interest) for every component in the input image, and then I calculated the image moments and the Hu moments of the ROI getting the desired output values. The solution proposed is the following: I’m sure there are other approaches for segmenting the connected components in an input image, but at the moment this one is doing the work for me. |
2017-07-21 11:55:16 -0600 | commented answer | Calculating image moments after connected component labeling function
|
2017-07-20 15:30:36 -0600 | asked a question | Calculating image moments after connected component labeling function I need to calculate the Hu moments from an input image. The input image However this is not giving me the correct Hu moments values of the components. Originally I used the thresholded image for getting the moments Just for the record, I already obtained the correct number of labels of the image, in this case input image has 10 components + 1 label for the background, that's 11 labels, I know the first label is for the background, therefore the array values are all zeros. I want the get the values of the rest of the labels (from 1 to n-labels) and parse those values to a Numpy array for computing the moments individually. |