pyts
pyts copied to clipboard
Range of values for images
Just wondering, are the image pixels values in range [0 255] for all image encodings (Gaf, Mtf, RecPlot)?
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):

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

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.