Ask Your Question

Revision history [back]

Base64 to source 8-bit single-channel image 'OpenCV.js'

I am trying to implement adaptive treshholding on my client device.

I am using Ionic 2 and here I need to use a base64 string. When I try to optimalise my image using adaptive treshholding using Opencv.js the method requires a source 8-bit single-channel image.

Can anyone provide me with information on how to convert the base64 string to a source 8-bit singe-channel image and back again ?