New and Unofficial OpenCV binding for D programming language

Arun Chandrasekaran aruncxy at gmail.com
Fri Apr 5 17:28:30 UTC 2019


On Friday, 5 April 2019 at 15:52:42 UTC, Paolo Invernizzi wrote:
> On Friday, 5 April 2019 at 13:19:22 UTC, Ferhat Kurtulmuş wrote:
>> On Friday, 5 April 2019 at 07:56:42 UTC, Paolo Invernizzi 
>> wrote:
>>> On Thursday, 4 April 2019 at 23:08:21 UTC, Ferhat Kurtulmuş 
>>> wrote:
>>>> [...]
>>>
>>> Nice!
>>>
>>> Version 3.x has an internal pointer in the mat struct, is 
>>> that changed with 4.x?
>>>
>>> - Paolo
>>
>> It still has it, if you what you mean:
>>
>> Mat Mat_FromArrayPtr(int rows, int cols, int type, void* data){
>>     return new cv::Mat(rows, cols, type, data);
>> }
>
> No, I mean that the Mat structure has a MatSize MatStep member 
> with pointers to the struct data itself.

I was writing a binding to OpenCV 3.x a while ago and now I know 
why I got blocked. :|



More information about the Digitalmars-d-announce mailing list