between 0 and 1
| 122 | } |
| 123 | //between 0 and 1 |
| 124 | float readDensity(std::vector<uint8_t> const& data, int& pos) |
| 125 | { |
| 126 | return (readFloat(data, pos) + 1.0f) / 2; |
| 127 | } |
| 128 | float readNeuronProperty(std::vector<uint8_t> const& data, int& pos) { return readFloat(data, pos) * 4; } |
| 129 | float readDistance(std::vector<uint8_t> const& data, int& pos) |
| 130 | { |
no test coverage detected