Research Article
Distributed Image Compression Architecture over Wireless Multimedia Sensor Networks
while Compressed image has not arrived at the base station | if Node is CH then | if CH has a neighboring CH then | Broadcast Relay-Msg (ID) | Receive Relay-Reply-Msg (ID, routing_level, energy) for neighboring CHs | Select a group of neighboring CHs that have lowest routing_level | Fuzzy_cost empty | For each Relay-Reply-Msg | Fuzzy_cost[] calculate Fuzzy (Remaining_energy, RSSI) | end for | Next_CH Select the CH that has the highest fuzzy cost | Source CH sends the compressed image to Next_CHs. | Else | Source CH sends the compressed image directly to the base station. | end if | if Node receives Relay-Msg then | CH replies to the source CH with Relay-Reply-Msg (ID, routing_level, energy). | end if | end if | end while |
|