Convert Mat to TBitmap and TBitmap to Mat C++ Builder 12.2

Hello !

I have only recently started working with OpenCV.

How to make the conversion in the fastest way so that there is a minimum delay for conversion:

  1. Mat to TBitmap ?
  2. TBitmap to Mat ?
Graphics::TBitmap* BMP_TEST = new Graphics::TBitmap();
Mat frame;