none
C++ /CLI Bitmap den unsigned char* a dönüştürme RRS feed

  • Question

  • Merhaba,

    Elimdeki Bitmap görüntüyü pointer olarak kullanmak istiyorum. Bunu yapabilmek için bir çok metod denedim fakat olmadı. Netde ençok LockBits le yapıldığını gördüm ama sonuç alamadım.

    Yardımcı olursanız çok sevinirim.

    Pointerdan başka bir image dosyası oluşturcam.

    Örneğin Opencv deki

    Mat frame( (int rows, int cols, int type, void *data, AUTO STEP) --> burdaki void*data ya ihtiyacım var.

    • Moved by Baron Bi Thursday, December 14, 2017 7:40 AM Third party library issue, Not English writting
    Friday, December 8, 2017 1:23 PM

All replies

  • Hello,

    this is an English forum. I'm sorry but I don't understand you.

    Regards, Guido


    Friday, December 8, 2017 1:37 PM
  • Is "matte frame" an OpenCV function? That does not seem to be a valid function name. Can you provide a link to the documentation of it?

    Bing says the language is Turkish and provides the following translation.


    Hello
    I want to use the BITMAP image as a pointer. I tried a lot of methods to do that, but it didn't. I saw it done with the Max LockBits, but I didn't get the results.
    I'd appreciate it if you could help.
    I'll create another image file from the Pointer.
    For example, in OpenCV, the
    matte frame ((int rows, int cols, int type, void * data, AUTO STEP)--> I need a void * data here.

    Sam Hobbs
    SimpleSamples.Info


    Friday, December 8, 2017 8:05 PM
  • For OpenCV you should better ask here: http://answers.opencv.org/questions/
    Monday, December 11, 2017 7:02 AM