Replies: 1 comment 1 reply
-
Thank you for reporting, yes, it is a bug and we have fixed it at ac7b437 Please refer to Using from the source code, to use the latest updates. And in your case, yes, the "point" mode is the best option, the "face" mode using the mean height of the pacman area, so the tree tip is not the correct place. But I could imagine, even you get the correct height by "point" mode, the image [DJI_0441] may not the best option, because the location are not in the image center. Please also refer to Find the best backward image |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for making this excellent package! It is incredibly useful. I have a use case where I need to use the
mode="point"
option forROI.get_z_from_dsm()
, but there appears to be a bug with this option. When I run the following:I get:
ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 2 dimension(s) and the array at index 1 has 3 dimension(s)
I need the
mode="point"
option because I am trying to extract images of the crowns of individual trees, which have a lot of height variation. When I use withmode="face"
, the projected ROI does not follow my feature quite right (though it's close, and generally still usable).(I drew the "pacman" shape because I was hoping the central vertex would track the top of the tree.)
Beta Was this translation helpful? Give feedback.
All reactions