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

Range of values for images #69

Open
zneha opened this issue Mar 18, 2020 · 1 comment
Open

Range of values for images #69

zneha opened this issue Mar 18, 2020 · 1 comment

Comments

@zneha
Copy link

zneha commented Mar 18, 2020

Just wondering, are the image pixels values in range [0 255] for all image encodings (Gaf, Mtf, RecPlot)?

@johannfaouzi
Copy link
Owner

Hi,

The pixel values are not in range [0, 255] because they are not standard images.

Gramian Angular Field

The values of a GAF image are in range [-1, 1] (see their formulas):

Capture d’écran 2020-03-19 à 10 08 36

Markov Transition Field

The values of a MTF image are in range [0, 1] as each entry represents a probability:

Capture d’écran 2020-03-19 à 10 08 53

Recurrence Plot

The values of a RP image are (depending on the value of the threshold parameter):

  • non-negative floats because they represent the Euclidean distance between two trajectories;
  • 0 or 1 when the Euclidean distance is binarized (lower or higher than the threshold).

Let me know if it is clear enough or not.

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

2 participants