Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Noise" along edge of classified data #55

Open
cambodine opened this issue Feb 21, 2018 · 3 comments
Open

"Noise" along edge of classified data #55

cambodine opened this issue Feb 21, 2018 · 3 comments

Comments

@cambodine
Copy link

Hey Guys,

I'm noticing that after running through the provided demo files that there is a line of classified data along the edge of the maximum range extent of the data (Horizontal distance ~ +-25 m):

testclass_kmeans0

I'm guessing that the classification window is counting NoData as 0. Any ideas on where I should look in the PyHum scripts to try and resolve this? i.e. Ensure values = 0.0 are treated as NoData rather then actually being a return of 0.0. Then I can try and troubleshoot further.

Thanks!

@danhamill
Copy link
Collaborator

I am not sure I understand your question. The black regions on the plot represent areas of no data. The color bar indicates 0.0 is a very faint yellow.

Are you talking about the contour plotting on the data/no-data boundary? Or are you talking about the texture lengthscale metric?

@dbuscombe-usgs
Copy link
Member

Hi Cam - as Dan says, values near 0 are just lengthscales very close to zero. Black is no data. My advice is to modify the code so you can input a range of lengthscales to display. You might also (or alternatively) consider playing with the 'win' parameter (window size) which will affect the results (all texture metrics are sensitive to the size of the window used to calculate them). You can use 'win' to effectively tune your texture maps so they agree with your eyes

@dbuscombe-usgs
Copy link
Member

The large values at the boundary is an outstanding issue I am aware of that I hope to fix in the next release. In the meantime, anyone is free to fork a new branch, make changes, and submit a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants