NEQR, INEQR, GQIR currently work for grayscale images only.
Closed this issue · 1 comments
SaashaJoshi commented
Image representation methods, NEQR
(implemented), INEQR
(PR #46 ), and GQIR
(to be implemented), currently support q = 8
for a grayscale color range of 2^8 = 256
(i.e., maximum color intensity = 255, range [0, 255]).
To expand implementations for binary and colored images, q
value needs to account for variable values for different images.
- Binary image,
q = 2
- Colored image,
q = 24
(3 RGB channels ofq = 8
each)
SaashaJoshi commented
Different representations will need to be added to the pipeline for RGB images. The above-mentioned QIR methods inherently support grayscale images only.
Currently, I believe it is better to have different implementations for grayscale and RGB images rather than making changes to the existing ones.