Hi guys,
How can I get a grayscale OpenCV image into Stride Texture ?
If I connect ToImage (OpenCV Conversion) directly to ImageToTexture (StrideTexture) vvvv crashes so I immagine it needs a color space conversion ??
I tried this workflow but it doesn’t work… What am I doing wrong here ?
It is not clear to me what exactly you are trying to achieve here. When you are using the CvImage node you are just seemingly creating a blank image with the same dimensions as the one coming out of the Threshold node, yet you give it no data/value so it will just be an empty image. Regardless, I believe the main culprit is the format you specified on the ToImage node, since you have a single channel 8 bit per channel CvImage originally, you need to make sure you use a compatible format on the ToImage node, in this case, that would be R8.
Hi @ravazquez
yes! I think that’s the culprit ! I’m always confused with color format…
May I ask the step after this ? In Stride how would I turn the R8 image back to RGB black&white ?
I tried to use ChangeFormat and Levels but probably not in the right way??