This is an ideea that just "come in".
Can I use the displayPixels from the FilterRecord structure?
So using the filter plugin I get the FilterRecord structer for this image, and yhen open MyDialog, create a port to this dialog and then to call displayPixels method, which draws the pixel on the current port.
I didn't tested it, yet, but I'm hinking to ask here before.