Skip to contentSkip to conversation

vimc: Add color descriptions to test image

DISCUSSION Kaaira Gupta 3 participants 4 messages Jun 1, 2020 – Jun 2, 2020 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi!

Currently there is no method to know if the test image generated by vimc is correct (except for comparing it with a known 'correct' image). So, I wanted to investigate about a possibility to add text to each color bar of the generated pattern. I think currently vivid supports this functionality as an optional control, so can we move it to a common platform so that both VIVID and VIMC can supoort it?

Thanks,
Kaaira

#1 lore raw
Quoted 9 lines · Kaaira Gupta

Hi!

Currently there is no method to know if the test image generated by vimc is correct (except for comparing it with a known 'correct' image). So, I wanted to investigate about a possibility to add text to each color bar of the generated pattern. I think currently vivid supports this functionality as an optional control, so can we move it to a common platform so that both VIVID and VIMC can supoort it?

Quoted 3 lines

Thanks,
Kaaira

If it is useful I don't oppose, but I'm not sure how this is implemented in vivid (or if it is in tpg).
I guess it is easier to judge from an RFC code :)

Regards,
Helen

#2 lore raw
Quoted 12 lines · Helen Koike
Quoted 9 lines · Kaaira Gupta

Hi!

Currently there is no method to know if the test image generated by vimc is correct (except for comparing it with a known 'correct' image). So, I wanted to investigate about a possibility to add text to each color bar of the generated pattern. I think currently vivid supports this functionality as an optional control, so can we move it to a common platform so that both VIVID and VIMC can supoort it?

Quoted 7 lines
Quoted 3 lines

Thanks,
Kaaira

If it is useful I don't oppose, but I'm not sure how this is implemented in vivid (or if it is in tpg).
I guess it is easier to judge from an RFC code :)

I am sorry for the confusion. Kieran pointed it out to me that vivid does not print the values of colors to check if they are right or not. It prints other useful information. As for vimc we want the order of test image color to be printed so that it can be checked if the visible order is correct.

Quoted 3 lines

Regards,
Helen

#3 lore raw
In reply to Helen Koike

Hi Helen,

Quoted 10 lines · Helen Koike
Quoted 8 lines · Kaaira Gupta

Hi!

Currently there is no method to know if the test image generated by vimc is correct (except for comparing it with a known 'correct' image). So, I wanted to investigate about a possibility to add text to each color bar of the generated pattern. I think currently vivid supports this functionality as an optional control, so can we move it to a common platform so that both VIVID and VIMC can supoort it?

Quoted 3 lines

If it is useful I don't oppose, but I'm not sure how this is implemented in vivid (or if it is in tpg).
I guess it is easier to judge from an RFC code :)

To add a bit of context, we've had incorrect code in qcam (libcamera) for months, with the RGB and BGR formats swapped. I never noticed because the test pattern doesn't immediately appear wrong when you swap red and blue. Adding text in the colour bars to tell what colour they should be would help visual verification of the pattern.

Signature · 3 lines
Regards,

Laurent Pinchart