boostorg / boostorg/gil

Inconsistency in image and pixel types using floating point channels.

Aperta
#407 1 commento 0 reazioni 1 assegnatario Rivendicata da @mloskot Vedi su GitHub
cat/bug core
Lingua principale
C++
Stelle
199
Fork
171
Merge medio
1g 14h
PR unite (30g)
10

Descrizione

The typedefs for images and pixels using 32-bit and 64-bit floating point channel values are inconsistent. The 32-bit types defined in *boost/gil/typedefs.hpp* uses `boost::gil::scoped_channel_value` while 64-bit types defined in *boost/gil/io/typedefs.hpp* uses `double`.

`float64_t` is defined in *boost/gil/typedefs.hpp* as `scoped_channel_value` so my guess is that this is the correct channel type for 64-bit images and pixels.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.