[Insight-users] extracting partial image and sending it over a network

Michael michakuhn@gmx.ch
Thu May 13 09:15:38 EDT 2004


Hi,

is there an elegant solution within ITK that allows me to extract a 
(non-cubic) part of an image such that I can send it over a network and 
reconstruct it there?

Say, I have an image like this:

 --------------------------------
¦                ______          ¦
¦               /     /          ¦
¦              /     /           ¦
¦             /     /            ¦
¦            /     /             ¦
¦           /     /              ¦
¦          /     /               ¦
¦         /     /                ¦
¦        /     /                 ¦
¦       /   --                   ¦
¦      /    \                    ¦
¦     /      \                   ¦
¦     --------                   ¦
¦                                ¦
¦                                ¦
 --------------------------------

I would like to extract either the exact shape shown above, or something 
as shown below.

 --------------------------------
¦                _______         ¦
¦               /     / /        ¦
¦              /     / /         ¦
¦             /     / /          ¦
¦            /     / /           ¦
¦           /     / /            ¦
¦          /     / /             ¦
¦         /     / /              ¦
¦        /     / /               ¦
¦       /   --  /                ¦
¦      /    \  /                 ¦
¦     /      \/                  ¦
¦     --------                   ¦
¦                                ¦
¦                                ¦
 --------------------------------

I DO NOT want, however, to cut the image along the coordinate axes, as 
shown below. The reason is that I want to minimize the data amount to be 
sent over the network.

 --------------------------------
¦      ________________          ¦
¦     ¦         /     /¦         ¦
¦     ¦        /     / ¦         ¦
¦     ¦       /     /  ¦         ¦
¦     ¦      /     /   ¦         ¦
¦     ¦     /     /    ¦         ¦
¦     ¦    /     /     ¦         ¦
¦     ¦   /     /      ¦         ¦
¦     ¦  /     /       ¦         ¦
¦     ¦ /   --         ¦         ¦
¦     ¦/    \          ¦         ¦
¦     /      \         ¦         ¦
¦     -----------------          ¦
¦                                ¦
¦                                ¦
 --------------------------------

Are there any methods withing ITK that help to ease this task?

Thanks,

Michael




More information about the Insight-users mailing list