I am using the System.Messaging.MessageQueue to send and receive multicast System.Messaging.Message’s on my LAN – this works fine.
However, I have a requirement to receive the msgs without using a message queue.
As the MessageQueue uses the PGM protocol (113) to send messages I am trying to build a type that listens on PGM (protocol 11...
I need to use one logical PGM based multicast address in application while enable such application "seamlessly" running across several different geo-locations (i.e. think US/Europe/Australia).
Application is quite throughput (several million biz. messages a day) and latency demanding whith a lot of small but very frequently send message...
Has anyone any experience of using PGM at the winsock (not MSMQ) level on Windows? It looks like a useful reliable multicast protocol (a la TIBCO Rendezvous) and I assume that it would be possible to make something like this really fly if run over native completion-port based I/O.
I've dabbled with it, at a C++ level, by writing some bo...
I have an int array containing gray scale values from 0-254, i also have the x and y size of the image. It is an easy thing to create an pgm image, but i want to display it in a jsp, so i need somehow to convert it to a jpeg or png image.
If you suggest jai, than please tell me at which classes to look, or how to actually do it in jai.
...
Hi
My python program generates a collection of binary files. I create pgm (portable bitmap files) using this binary data. I would like to create a video using each of the pgm files as a frame in my video.
I have had a look an mencoder but I dont think it supports pgm files
Can anyone offer any advice.
...
Hi folks,
I am brand new to programming in general, and am working on a project for which I need to capture images from my webcam (possibly using OpenCV), and save the images as pgm files.
What's the simplest way to do this? Willow Garage provides this code for image capturing:
http://opencv.willowgarage.com/wiki/CameraCapture
Using...
I feel like I'm missing something simple here (as usual).
I'm trying to read PGM images using Java. Matlab does it just fine - outputting the image pixels (for example, a small 32x32 image) in Matlab gives me something like this:
1 0 11 49 94 118 118 106 95 88 85 96 124 143 142 133
My Java reader, however, outputs this:
1 0 11 49 94 ...
I've got a hundred 128 x 128 .pgm files with some shapes on them and I think their color scale is 255 (not sure on this one though, so it'd be nice if a solution could also take that in consideration) and I need to extract these colors to process the images. So what I'd like to end up with would be a 128 x 128 matrix with each element ha...
I'm trying to use PGM sockets to send data on Windows. I can listen and receive data fine from a PGM socket using a non-admin account, but when I try to create a socket to send data I get an exception at this step:
socket.Bind(new IPEndPoint(IPAddress.Any, 0));
The exception is:
An attempt was made to access a socket in a way forbidde...
Hi, i need to compare 2 .pgm images in java. I use this to display the image:
PlanarImage pgmImage = JAI.create("fileload", "test.pgm");
ImageIcon icon = new ImageIcon(pgmImage.getAsBufferedImage());
The comparing type is:
Image A, px 1 = 220; Image A, px2 =....; Image A pxN=...;
Image B, px 1 = 180; Image B, px2=....; Image A pxN...