hi for all,
i want to apply correlation method between two images; so i have to make some mathematical calculations on them.
after reading images from a file like this:
i want to apply correlation method between two images; so i have to make some mathematical calculations on them.
after reading images from a file like this:
Image b = Image.FromFile( "c:\\standard\\test1.bmp" );
Bitmap bb = (Bitmap)b;
the problem is how can i deal with images using operators like -, /, XOR.....
I try to convert them to byte at first like this:
the problem is how can i deal with images using operators like -, /, XOR.....
I try to convert them to byte at first like this:
MemoryStream ms = new MemoryStream();
bb.Save(ms, ImageFormat .Bmp);
byte[] s = ms.GetBuffer();
But that does not work!!!
So what is the form images have to be before applying calculations; and how can i do it?
thanx
So what is the form images have to be before applying calculations; and how can i do it?
thanx
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
YAHOO! GROUPS LINKS
- Visit your group "Microsofts_C_Sharp" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
