Assuming you're doing something similar to the following (pixel depth may vary,
this assumes 32 bit):
IplImage* img=cvCreateImage(cvSize(640,480),IPL_DEPTH_32F,3);
Then you can access the image as an array like so:
RgbImageFloat imgA(img);
imgA[i][j].b = 111;
imgA[i][j].g = 111;
imgA[i][j].r =
Hi,
[EMAIL PROTECTED] wrote:
Thanks Robert, I very confuse with this, becouse I read a lote of
diferent approach (event broadcast engines, shared objects, etc) to do
this, but most of them don't work :-S , I wondore if you have a simple
working example of the correct way to do this?
Events
Thanks Robert, I very confuse with this, becouse I read a lote of
diferent approach (event broadcast engines, shared objects, etc) to do
this, but most of them don't work :-S , I wondore if you have a simple
working example of the correct way to do this?
in advance, thank you very much.
Mauri
Is posible to create a binary representation of an object in memory with
some serialization and transmit the bytes[] of the object with remoting
and in the other side re-build the object with his bytes?, or I crazy :-S
.
Euan MacInnes wrote:
> Hi Mauricio,
> One option to do this is to extra
Alan McGovern wrote:
> Thats invalid code. If you want to access the 'CopyTo' method, you
> have to cast the dictionary as an
> ICollection>.
>
> Alan.
Oh. Thanks for enlightening me.
Sorry for troubling you.
--
Antti
___
Mono-devel-list mailing lis
On Nov 25, 2007 2:14 PM, Alan McGovern <[EMAIL PROTECTED]> wrote:
> Thats invalid code. If you want to access the 'CopyTo' method, you have to
> cast the dictionary as an ICollection object>>.
As MSDN states:
http://msdn2.microsoft.com/en-us/library/1e8ecdh9.aspx
This is explicit implementation.
Thats invalid code. If you want to access the 'CopyTo' method, you have to
cast the dictionary as an ICollection>.
Alan.
> *Sigh*. Let this test program demonstrate:
>
> [EMAIL PROTECTED]:~/mono-hacks% gmcs bug.cs -o bug.exe
> warning CS8029: Compatibility: Use -out:FILE instead of --output FILE
Valentin Sawadski wrote:
> It explicitly implements copy to in line 643 and 653. So CopyTo is
> publicly available. If you refer to the CopyTo at line 275, this is
> being called by the explicit implementation of it.
>
*Sigh*. Let this test program demonstrate:
[EMAIL PROTECTED]:~/mono-hacks%
Hello,
On Sun, 2007-11-25 at 14:45 +0200, Antti S. Lankila wrote:
> The Dictionary.CopyTo appears to miss the "public" qualifier, thus
> making it impossible for client code to make use of this method.
>
It explicitly implements copy to in line 643 and 653. So CopyTo is
publicly available. If y
The Dictionary.CopyTo appears to miss the "public" qualifier, thus
making it impossible for client code to make use of this method.
--
Antti
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono
Please review the patch for default case insensitive comparison in
HybridDictionary. (Should be ordinal and not invariant).
Index: Test/System.Collections.Specialized/HybridDictionaryTest.cs
===
--- Test/System.Collections.Specialize
[EMAIL PROTECTED] wrote:
> Hi:
>
> I know that is very possible that this is a basic remoting question, but
> I read some info about the native .NET approach used with remoting and I
> think that my code is supose it to work:
>
> I write a class with a method to trigger some event (this is the
Hi all,
Please review this fix.
SystemUri.patch
Description: SystemUri.patch
SystemTestUri.patch
Description: SystemTestUri.patch
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-deve
There seem to be some low-hanging fruit there. Actually I did some
optimizations some years ago, but some were rejected because of possible
"code bloat".
Here are some things in the current implementation that could likely be
improved:
1) ToString calls FormatGeneral, which is the most complex For
14 matches
Mail list logo