the most recent network technologies are enabling a variety of new applications thanks to the provision of increased bandwidth and better management of quality of service .
nevertheless , telemedical services involving multimedia data are still lacking behind , due to the concern of the end users , that is , clinicians and also patients , about the low quality provided .
wireless and mobile telemedicine underpins applications such as the transmission of video data from an ambulance , the rapid retrieval and remote display of video data stored in hospital databases , remote ( first - level ) diagnosis in rural areas , for example , robotic teleultrasonography and telesurgery .
one of the key challenges is the ability to stream medical video over wireless channels .
although wireless multimedia telemedicine services have been proposed before in [ 15 ] , the application of these technologies in real scenarios has been constrained by the unacceptably poor quality of the medical multimedia data arising from the limited bandwidth .
it would be desirable to store approximately 30 seconds of dynamic heart images per patient ( i.e. , three sections of the heart and 10 seconds for each section ) .
even if frames are digitized with 512  512 pixels with 8 bits each and the frame rate is 25  hz , the size of the uncompressed digital video sequence would be ( 512  512  8  3  10  25 )  bits
medical video compression techniques are thus required . for telemedical applications , such techniques must offer high fidelity in order to avoid the loss of vital diagnostic information . to achieve this ,
lossless compression techniques are often considered , but have the disadvantage of low - compression rates .
therefore , when transmission is over band - limited and error - prone channels , a compromise must be made between compression fidelity and protection and resilience to channel errors and packet loss .
it has been estimated that lossy compression ratios of 1  :  5 to 1  :  29 do not result in a lowering of diagnostic accuracy . furthermore , even in situations where the final diagnosis must be carried out on an image that has been reversibly compressed , irreversible compression can still play a critical role where quick access over a bandlimited channel is required .
however , we can consider three types of lossless compression : information lossless compression , perceptually lossless compression , and diagnostically lossless compression .
the first one is limited by the entropy ( mean information ) of the source ; the second is such that losses are not perceived by the human eye ; the latter is such that the diagnosis made on the basis of the image / video sequence is not affected by compression . in this paper ,
we focus on ultrasound video , although some considerations are still valid for different type of sources .
we propose to exploit all the available context information ( type and goal of ongoing / stored examination , status of the patient , transmission scenario ) to design an appropriate transmission system for diagnostically lossless ultrasound video transmission over wimax systems .
for instance , coronary heart disease can be diagnosed by measuring and scoring regional motion of the heart wall in ultrasound images of the left ventricle of the heart .
such information can be taken into account as context , and regions of interest ( roi ) can be defined accordingly in each specific session .
multiple regions of interest can be defined , and compression / transmission strategies can be tailored to such context information . we propose a global scheme for error - resilient transmission of ultrasound and ecg data designed based on the characteristics of the specific scenario . for this purpose
we invoke a wide range of recent advancements in video compression , error resilient video coding , and transmission technologies , including specific tools of the h.264 video coding standard such as flexible macroblock ordering ( fmo ) for roi identification .
two different unequal error protection methodologies , providing higher protection to the most diagnostically relevant data , are proposed and the whole transmission system is specifically designed for the aforementioned scenario . the performance is evaluated over a realistic wimax network , by considering real measurements . the paper is structured as follows .
section 2 provides an overview of the state of the art in wireless telemedicine systems for diagnostic video transmission and also focuses on the main advancements in the relevant enabling technologies . following the problem statement and description of the proposed approach in section 3 , section 4 details the system implementation and validation results .
ieee 802.16/wimax ( worldwide interoperability for microwave access ) [ 911 ] is one of the most promising technologies for broadband wireless access , both for fixed and mobile use , currently being deployed in many countries worldwide .
2001 wimax has evolved from 802.16 to 802.16d for fixed wireless access , and to the new ieee 802.16e standard with mobility support [ 9 , 10 ] .
mobile wimax adds significant enhancements , including improvement of nlos coverage by utilizing advanced antenna diversity schemes and hybrid automatic repeat request ( harq ) ; the adoption of dense subchannelization , thus increasing system gain and improving indoor penetration ; the use of adaptive antenna system ( aas ) and multiple input multiple output ( mimo ) technologies to improve coverage ; the introduction of a downlink subchannelization scheme , enabling better coverage and capacity tradeoff .
this brings potential benefits in terms of coverage , power consumption , self - installation , frequency reuse , and bandwidth efficiency .
the 802.16e standard encompasses five quality of service classes for different types of traffic / applications .   in particular
, for medical applications in emergency areas it is important to have an easy setup of the infrastructure . at the same time
, qos is critical in medical applications , thus proper prioritization and scheduling policies should be adopted in order to enable reliable and high - quality transmission of possibly critical medical data . in   resource allocation is used to prioritize different type of connections ( e.g. , an emergency connection must have higher priority than a followup connection ) over a ieee 802.16e network .
an admission control scheme is used to reserve radio resources for higher priority connections and avoid congestion .
three types of connections in the network are considered : connections from ambulances , clinics , and followup patients .
wimax has dramatically improved with respect to previous systems in terms of features which are critical for medical applications .  
high end - to - end quality ; robustness and reliability : the system can not break down under stress and the connection can not be lost ; security : transmission of medical data should be secure and privacy of medical data must be preserved , medical data or patient identification can not be disclosed indiscriminately ; the fact that different health care providers have different access rights has to be considered .
however , the baseline wimax scheme lacks error protection beyond phy / mac and unequal error protection is not considered at phy / mac , hence video sequences can be largely affected by errors and packet losses . in order to improve the video quality ,
in addition , if unequal error protection is not available , the video quality will degrade significantly when a mobile subscriber station ( mss ) experiences shadowing fading , temporal fading or interference .
the idea of unequal error protection is to apply more robust channel coding to more important video content .
therefore , the mss can at least decode some important video frames , for example , i frames and diagnostically important content .
for this reason we propose in this paper to adopt an unequal loss protection strategy at the application layer , to improve packet error resilience for ultrasound video sequences transmitted over a wimax system .
the advantages of an unequal loss protection at the application layer are mainly the availability of detailed source information at this layer ( no need to pass such information through the osi protocol stack ) and standard compatibility ( phy / mac layers are standardized in wimax ) .
teleultrasound systems for remote diagnosis have been proposed in the last ten years [ 1 , 2 , 4 , 5 ] given the need to allow teleconsultation when the access of the medical specialist to the sonographer is not possible .
more challenging scenarios include ultrasound guided remote telesurgery   and wireless robotic teleultrasonography . in ,
the quality of received real - time medical video sequences after transmission was just acceptable for a first diagnosis , since the available wireless technologies ( 2.5  g , 3  g ) did not allow sufficient bandwidth for good quality video transmission .
recent studies reported by the authors in [ 13 , 14 ] show the improvements achievable through the exploitation of appropriate rate - control strategies and cross - layer design over wlan/3 g systems . some projects and demonstrations
the goal of the european ist project weird   was the realisation of ieee 802.16/wimax - based testbeds , including novel applications running on top of a wimax - based end - to - end architecture .
broadband access for medical personnel requiring high - resolution medical information in nomadic emergency camps and high - resolution video and data streaming from medical instruments were considered .
the project highlighted the main challenges that wimax still has to face in e - health applications .
the goal of the  mobile healthcare services  project in taiwan   is to support emergency medical assistance and patient care services wherever it is required outside of a medical facility . with the assistance of high - bandwidth wireless communications ( wimax ) , healthcare personnel in the field
will be able to connect to critical medical resources , exchange important files , and arrange treatment , saving crucial minutes in the early treatment of patients . in australia , with the help of intel australia and airspan networks , the organizers of the australian grand prix deployed a wimax network to improve communication flow between the on - site trauma unit and medical specialists at the alfred hospital three kilometers away .
auto racing events require a medical team capable of attending to the steady stream of injuries incurred by the drivers , mechanics , and other personnel throughout the competition .
the trackside trauma facility was provided with high - speed wireless connection , linking the on - site medical staff with their counterparts in a hospital three kilometers away .
the wimax network eliminated the need for the 20-minute trips previously required to manually transport radiology images , test results , and other medical information .
furthermore , wireless web cameras installed at the remote site allowed medical staff in the field to run real - time video consultations and patient reviews with their colleagues in the hospital . the project focused on medical images and ambient video , not on medical video sequences .
the goal of most of the aforementioned projects is / was to demonstrate the transmission of medical data over a standard network , with no effort to tailor the characteristics of the transmission system to the specificity of the transmitted data .
one of the first works addressing the need of taking the specific characteristics of the medical application into account in the design of the transmission system was , presenting the design of a mobile teletrauma system using 3 g networks .
the importance of considering a specific cross - layer strategy designed with the goal of maximizing the diagnostic quality of the received information was first identified in   and then also addressed in [ 13 , 14 , 21 , 22 ] .
a recent work in this direction is also , where adaptive transmission of medical images and video is addressed using scalable coding and context - aware wireless medical networks .
the authors propose a wavelet - based scalable coding scheme and context information is addressed here as the information on the patient state ( normal / urgent ) .
this work focused on teledermatology , mri , and ambient video ( no ultrasound ) .
since most networks deal with a limited amount of bandwidth , scaling techniques are introduced to send less data over the network with as little inconvenience as possible for the user .
one of these techniques is region - of - interest coding ( region of interest ( roi ) ) .
roi divides an image into multiple parts , the most important part typically being the one the user is observing , called the roi .
roi coding can be used to encode objects of interest with a higher quality , whereas the remainder of the image can be regarded as background information and can be encoded more coarsely .
the advantage of this method is that the image parts that the viewer is looking at can be transmitted with a higher quality .
the result is that the overall viewing experience remains satisfactory , while the transmission can be performed at lower bitrates .
this can be realized by the use of slices ( e.g. , if slice - group-0 is transmitted first , by placing the roi in slice - group-0 , it should arrive first at decoder side ) .
when network congestion occurs , the probability of having a frame that contains at least something the viewer most likely wants to see , is higher with roi coded imagery than without roi .
the roi can be defined by the user ( e.g. , clinician ) by means of a mouse click , by making use of an eye tracking device or can be predicted , based on content recognition algorithms .
medical video sequences typically consist of an area which is critical for the diagnosis and a surrounding area which provides the context , but is not critical for the purpose of the diagnosis .
roi coding appears thus as a natural methodology for medical video and roi definition can be performed according to contextual information , either automatically or by the clinician .
the image compression standard jpeg2000   allows both the definition of a roi of regular shape and defined by the user through a mask .
the mpeg4 standard   proposed for the first time the concept of  objects  independently manipulated in a video sequence . in the more recent h.264 standard [ 26 , 27 ] there are several different models to implement roi - coding , all making use of slice groups .
indeed , the concept of roi is not often exploited in the design of compression and transmission strategies .
reference   presents an implementation of multiple region - of - interest models in h.264/avc .
reference   presents a cost - distortion optimized unequal error protection for object - based video communications , with the goal of optimizing the global distortion of each image by adapting the transmission power to provide a different protection to shape and texture information .
this approach is probably the most similar to our one , although the authors focused on power adaptation ( physical layer ) , while we propose unequal loss protection at the application layer .
furthermore , the authors did not consider medical video and did not exploit relevant context information .
they exploited the  object  tool in the mpeg-4 standard , while we rely on the fmo tool in the h.264 standard for the identification of regions of interest .
reference   presents a region - based rate control and bit allocation for wireless video transmission .
reference   exploits the concept of roi and contextual information for context - aware multi - lead ecg compression based on image codecs .
the following section describes a useful way to implement rois in the h.264 video coding standard . the h.264 standard [ 26 , 32 ] includes three profiles ( baseline , main , and extended ) , each having a different set of functionalities .
the baseline profile was designed primarily for low - cost applications with reduced computational power .
the most relevant functionalities in the baseline profile are fmo and arbitrary slice ordering ( aso ) .
both techniques are used for manipulating the decoding order of the macroblocks in the picture .
a slice contains at least one macroblock and it can include all the macroblocks in the video frame . using fmo ,
groups of macroblocks consisting of one or more slices , known as slice groups , are formed according to a specific strategy .
the fmo mode , in conjunction with advanced error concealment methods applied at the decoder , maintains the visual impact of the losses at a low level even at loss rates up to 10% .
apart from predefined patterns , fully flexible macroblock ordering ( explicit mode ) is also allowed , where the macroblock classification can be changed dynamically throughout the entire video sequence based on the video content .
the idea behind fmo is that if a slice gets corrupted , and the macroblocks within this slice are dispersed across the frame , it will be easier to conceal the lost macroblocks than in the case they are contiguous .
however , according to our experience , in the case of medical video error concealment is not necessarily beneficial , since it may hide important irregularities present in the original video .
for this reason , in this paper we consider fmo as a means to perform roi implementation in h.264 and not with the purpose of error concealment .
the standard includes seven modes to map macroblocks ( mbs ) to a slice group and we will consider in the following the explicit mode ( type 6 ) , allowing the user to associate each of the macroblocks to a slice group independently .
the fmo tool has already been used by a few authors for the purpose of roi definition and unequal error protection . in   the authors
propose a transcoding scheme to perform unequal error protection based on the information available at the output of the entropy coder .
unequal error protection is performed here in the transform domain and context / content information is not considered for the unequal error protection strategy : the most relevant macroblocks in each frame are selected solely based on the distortion introduced at the decoder if the macroblock is lost . in   a novel technique to represent rois using fmo is proposed , together with a rate control technique to improve the picture quality in roi . in   the importance of every macroblock
is calculated based on its influence on the current frame and future frames and macroblocks with the highest impact factor are grouped together in a separate slice group using the flexible macroblock ordering feature of h.264/avc .
the authors suggest that their results could underpin the design of an unequal error protection strategy . due to the characteristics of video coding methodologies and standards [ 27 , 36 ]
, it has been shown that joint source and channel coding / decoding techniques ( jscc / d ) are beneficial to wireless video transmission .
although source coding and channel coding are usually treated separately , jscc / d techniques allow improvements in end - to - end video quality through the joint design of source coding on one side and channel coding and modulation strategies on the other .
more in general , the different layers of the standard transmission protocol stack can be jointly designed , according to a paradigm that becomes to be known as cross - layer design . despite the demonstrable advantages in end - to - end video quality , there are few studies addressing the use of the cross - layer and jscc / d approach for mobile telemedical applications [ 13 , 14 , 20 , 21 ]
. examples of cross - layer methodologies include : rate control [ 38 , 39 ] , to adapt the source coding rate to the network and channel conditions ; rate - distortion optimized streaming of packetized media ; unequal error protection .
since video packets may contribute differently to the overall video quality , unequal error protection ( uep )   is a natural way of protecting transmitted video data .
the idea is to allocate more resources to the parts of the video sequence that have a greater impact on video quality , while spending less resources on parts that are less significant . in , an unequal error protection scheme based on rate - compatible punctured convolutional codes
, a priority encoding transmission scheme is proposed to allow a user to set different priorities of error protection for different segments of the video stream .
this scheme is suitable for mpeg video , in which there is a decreasing importance among i , p , and b frames . in general ,
error protection can come from various sources such as forward error correction ( fec ) , retransmission , and transmission power adaptation . in  
the authors proposed an uep scheme for mpeg4 video where different packet partitions were protected with different channel codes .
the mpeg4 data partitioning tool was exploited and a criterion was proposed in order to avoid passing the otherwise necessary side information about partition lengths .
unequal error protection is also possible taking modulation into account , for example , through appropriate bit allocation over the different subcarriers in multicarrier modulation .
an uep scheme based on different priorities of mpeg4 objects is presented in   where shape and texture data are transmitted over different service channels . in this paper , unequal error protection
is performed at the application layer through erasure codes ; on one side uep at the application layer keeps compatibility with the wimax standard , since mac / phy layers do not require modifications ; on the other side , the use of erasure codes allows the recovery of lost packets at the application layer , where the use of bit - error correction codes would be useless , since lower layer protocols remove packets with erroneous bits , unless mac - lite /udp - lite protocols are used to allow packets with erroneous bits in the payload to reach the application layer .
ultrasound scanners produce conical images where the actual image acquired by the probe sensor is a fan - shaped window over a black background including patient data and in some cases the associated ecg waveform ( see figures 2(a ) and 2(b ) ) .
the fan - shaped window is the diagnostically useful area and it typically occupies 50%60% of the area of the full image .
the actual size of this fan area in a given ultrasound clip depends on the machine and its settings .
after detection of three key points , this area can be modeled as the sector of a circle centered in ( a , b ) and with radius c , that is , with equation 
 ( 1)(xa)2+(yb)2=c2 . 
 
the automatic detection of the fan area is not trivial , as the position and size of it varies in different frames and from clip to clip .
although a fan - shaped mask can be detected for each frame , we assume the fan area is uniform across all frames .
we therefore construct a fan - shaped mask by finding the union of the individual masks identified .
it is possible to adopt a similar procedure for clip - to - clip variations , by identifying a 
universal  mask . with the purpose of a context - aware design of the compression and transmission scheme , we identify three rois in each ultrasound video sequence ( see figure 2(a ) ) .  
diagnostically most important area identified by the clinician ( see , e.g. , figure 2(a ) ) ; fan - shaped sector ( see figure 2(a ) ) ; black background with patient data and in some cases the associated ecg waveform . in the following
, we will also consider roi 2 and roi 3 jointly processed , as in figure 2(b ) .
in particular , roi 1 is selected by the medical specialist according to context information such as type of examination and a priori knowledge on the disease to diagnose .
information in the background is typically text data , for example , about the patient , the instrument used in the examination , and the section of the organ visualized .
the associated ecg wave can also be displayed in the background area , with the ecg sample corresponding to the visualized image highlighted with a bar in the waveform .
this information can be extracted prior transmission and both text and the ecg waveform can be separately compressed .
when dicom standard is used , such information can easily be separated from the rest of the image .
we do not extract such information from the background prior to transmission and we transmit roi 3 as a separate roi or in the same transmission class as roi 2 . in the first option , data and ecg waveform are separately encoded . when there is no requirement for high resolution for the diagnosis of a specific disease , ecg waveform is typically sampled at 360  hz with a resolution of 11 bits per sample . in some cases the information from different ( up to eight ) channels obtained from different leads is needed .
the waveform of a single channel occupies 360  samples / s  11  bits / sample = 3960  bits / s  4  kbits / s without compression ( for eight channels12 leads  the rate is about 32  kbps ) .
a channel can be compressed with acceptable quality down to 400  bits / s = 50  bytes / s ( see , e.g. ,   and references cited therein ) .
when such information is removed and separately encoded , and application layer fec is adopted , we propose we embed such information in the padding bits needed to have a regular code structure ( see section 3.4 ) .
note that synchronization between ecg data and ultrasound images is important , in order for the specialist to correlate the visualized image with the corresponding wave in the ecg signal .
for instance , it is essential for a specialist to synchronize the measurement of the diameter of vessels to the r - wave spikes in the ecg trace , to eliminate the effects of periodic changes in diameter caused by the normal changes in blood flow with every heartbeat .
we assume that we compress our medical video sequences according to the h.264 video coding standard , with the aid of the flexible macroblock ordering ( fmo ) tool for encoding separately the different rois .
we also assume that each roi r in a frame f is composed of if , r slices .
we assume that different quantization parameters are adopted for each m - th slice for roi r , r = 1,2 , 3 ,   in frame f , that is , quantization parameters are f , r , m .
the transmission channel is characterized by a set of parameters ( such as packet loss rate , loss burst length , etc . ) as specified in section 3.3 .
for the sake of generality , we denote the service class associated to mth slice for roi r in frame f as f , r , m ,   with r = 1,2 , 3 in our case . a service class can be intended as a qos class provided by the underlying network or as a level of protection provided by ( possibly unequal ) forward error correction .
the corresponding probability of packet loss and loss burst length ( in packets ) are denoted as (f , r , m ) and (f , r , m ) .
the total transmission time per frame can be calculated as 
 ( 2)tf , tot=r=1rtot  m=1if , r[bf , r , m(f , r , m)r(f , r , m ) ] , 
							 where bf , r , m represents the encoding bits for slice m in roi r and rtot is the number of rois in the frame . in our case
note that we do not consider here automatic retransmission request ( arq ) techniques and processing time for fec is neglected . in the example results reported in section 4
, we consider the case where we keep quantization parameters constant in a session and we select different service classes for different rois through a group of pictures gop - by - gop unequal error protection scheme at the application layer . in this case
f : quantization parameter for frame f ; f , r : service class for roi r in frame f ; (f , r ) : corresponding probability of packet loss ; l(f , r ) : corresponding mean burst length .
the total transmission time per frame can be calculated as 
 ( 3)tf , tot=r=1rtot[bf , r(f)r(f , r ) ] 
							 and per gop : 
 ( 4)tgop , tot=f=1ftottf , tot . 
 
the gilbert two - state channel model   has been widely used in the literature to represent packet loss patterns in wireless fading channels .
two states are considered to represent good and bad channel states in terms of packet errors .         
such a model , depicted in figure 3 , is completely specified by two parameters : the probability of packet loss pe and the mean burst length lb . by denoting with s0 the packet error free state and s1 the packet error state
, the channel state transition probability matrix p has elements pi , j such that , 
 ( 5)pi , j = p[s(k)=sj    s(k1)=si ] ;  i , j{0,1 } 
							 representing the transition probability from state si at tk1 to state sj at tk .  

( 6)q = p[s(k)=s0    s(k1)=s1],p = p[s(k)=s1    s(k1)=s0 ] . 
      
the transition matrix is given by 
 ( 7)p=(1ppq1q ) 
							 and it is 
 ( 8)pe = p[s(k)=s1]=pp+q , lb=1q . 
 
the use of reed - solomon ( rs ) codes is described first , the global uep strategy adopted follows .
we consider the use of reed - solomon ( rs ) codes for application - layer fec .
when fec is used at the application layer , it is necessary to apply erasure codes across video packets ; the wimax mac layer discards the whole mac frame in the event of an error , that is , the erroneous frame at the receiving mac is never passed on to the higher layer .
therefore , if rs coding is applied within a single packet at the application layer , the erroneous packet will not be available for error detection or correction at the application layer .
similar to , we apply rs coding across packets using an interleaver , that is , k slices each of length lm bits are buffered at a matrix interleaver . the first symbol from each of the k slices
is sent through an ( n , k ) rs coder resulting in n  k parity symbols , each of which forms the first symbol of the n  k parity packets .
note that the symbol size in bits depends on the selected value of n , that is , c = log  2(n + 1 ) .
this is repeated for the whole slice , resulting in n  k parity packets each of length lmax   generated by the rs encoder .
note that actually the slice lengths lm are not exactly identical and padding bits are needed to obtained equally long packets of length lmax  . each video or parity packet is transmitted via rtp / udp / ip and an 802.16e mac frame ; if this frame is discarded at the receiving 802.16e mac layer due to channel errors , this results in a symbol erasure at the rs decoder in the application layer . the rs decoder at the application layer can correct up to n  k packet losses out of n packets over which the rs coding was applied .
first , the interlacing operation requires that k slices are accumulated to begin the rs(n , k ) coding operation .
second , once k packets are available , generating the redundant packets by applying the rs code involves data processing delay .
due to the high hardware speeds currently available and the possibility to perform encoding in parallel ; the latter delay is very limited and we can only consider the time delay involved in having to wait for k packets . note that , since the rs code is systematic , it is not necessary to buffer packets to form rs codewords , but the information symbols can be transmitted directly if a local copy is kept to form the parity check symbols . these computed parity check symbols can then be sent immediately after the information symbols , eliminating interlacing delay at the transmitter . the total interlacing delay would then be the delay at the receiving end alone .
every data block has its own block sequence number , which is useful at the receiver side , since it provides the rs decoder with the position of the lost block .
the rs decoder can then recover up to ( n  k ) lost blocks with this position information instead of recovering ( n  k)/2 lost blocks without the position information . the residual loss probability in case of independent packet losses is 
 ( 9)pl=1ni = t+1ni(ni)pei(1pe)ni , 
									 where t = n  k when erasures are considered and information on the position of the erasures is available . for the adopted gilbert - model the probability of packet error and burst length after fec can be calculated following the analysis in . if at least k out of n packets are correctly received , the underlying video information can be correctly decoded .
this provides resiliency against a maximum packet loss rate of p = ( n  k)/n when considering that even fec packets may be affected by loss .
thus , based on averaged packet loss rate ( pe ) measurements such as that provided by rtcp feedback , it is possible to dynamically adjust the redundancy amount h = n  k as h = pek/(1  pe ) .
when a decoding failure happens , there are ( n  i ) < k correctly - received packets including both video and parity packets possibly . we utilize these video packets if there is any for the video decoding ; on average , ( k / n)(k  i ) packets out of ( n  i ) correctly - received packets should be video packets . we propose to provide a high protection to the most significant roi for the purpose of diagnosis ( roi 1 ) and a lower protection to roi 2 and the background .
patient data / ecg can either be transmitted as data and compressed ecg in padding bits of roi 1 and thus strongly protected , or transmitted in roi 2 .
we propose rs coding is performed gop by gop ; an rs block will include data from no more than one gop . for the selection of the rs block size ,
the erasure correction capability of the code and the slice size have to be defined first .
the selection of slice size lf , r , m , when slices are not separated in smaller packets at lower layers , is linked to the network and channel characteristics . in the following we will assume that each roi is encoded in one slice of length lf , r .
 lmax , where rows are made of symbols from slices and padding bits to reach the length lmax , and columns , with data in groups of bits ( rs symbol ) , represent the rs data blocks .
lmax   is a value which is fixed gop by gop depending on the size of the slices in the gop . the block is simply built by arranging the slices ( + padding bits ) as the rows of the rs block until either the suggested value of k rows is reached or the slices belonging to a gop are terminated .
after rs coding the structure has size n  lmax   due to the presence of n  k parity packets .
note that , with the assumptions above , the mac pdu size is 
 ( 10)lpdu = lmac.header+lcrc+lrohc.header+lmax  . 
 
the selection of the coding rate k / n depends on the characteristics of the channel / the network of the video sequence and of context information and the rate could be adapted dynamically gop - by - gop in order to adapt to the conditions of the network . instead of considering models for the impact of losses in the different regions on the global distortion , as typically done , in this case we give priority to context information for taking decisions on the protection rate ,
the relative importance of the region of interest with respect to the background is different for different types of examinations and we propose that this weight is provided by the clinician and considered for the selection of the protection rate of the different rois . after application layer unequal error protection , the total number of bits per frame is 
 ( 11)bf , tot=r=1rtot[bf , r(f)rc(f , r ) ] 
									 and per gop 
 ( 12)bgop , tot=f=1ftotbf , tot , 
									 where the factor 0 <
 < 1 takes into account the overhead due to padding bits in the rs code matrix organization , and ftot is the number of frames in the gop .
it is common practice in video transmission to  conceal  the effect of errors at the receiver side by , for instance , interpolating from neighbouring data in time and space . in the medical field
, this practice may not be desirable when a medical doctor is performing a diagnosis .
such concealment practice could be misleading since in this case the specialist can not factor into his or her decision an awareness of missing and potentially important data .
for this reason , we propose that concealment is applied seamlessly only in roi2 and roi3 in order to smooth the not diagnostically important rois .
although concealment is applied in roi1 , we propose to inform the specialist that a specific mb has been concealed by highlighting concealed mbs in the portion of the video frame belonging to roi1 .
it is in fact important that the specialist can assess his / her confidence on the diagnosis .
the ultrasound video clips used in our experiments are cardiac ultrasonography sequences , partly collected from a hospital and partly from public databases .
the acquired medical video sequence is encoded according to the h.264 standard   with the parameters reported in table 2 .
groups of slices are organized with the aid of the flexible macroblock ordering tool , in order to have separate groups of slices for different rois .
information about the shape of the different rois is stored in the picture parameter set .
the encoded image stream is then encoded through rs codes and delivered via rtp / udp / ip .
we assume robust header compression ( rohc ) is adopted to reduce the overhead due to packetization headers and that rtp / udp / ip headers are compressed via rohc to three bytes .       
the main radio access network parameters of the reference testbed   are shown in table 3 .
measurement conditions and measurement results from   are reported for convenience in tables 4 and 5 , respectively .      
we consider a vehicular environment , in order to simulate ultrasound video transmission to / from an ambulance .
this is the case where immediate access to ultrasound examinations located in the hospital database is needed , and where the examination is performed in an ambulance through a portable ultrasonographer and the relevant video stream is transmitted in   real time to the specialist in the hospital .       
in particular the gilbert channel model parameters are selected according to the measurements in table 5 .
the measurements only report the maximum packet - loss burst length . by assuming a geometric distribution for the burst length
, we estimate the mean packet - loss burst length as lb = 5 ; in this case according to the geometric distribution the probability of having a packet - loss burst length higher than the measured maximum value is of the order of 10 . note that measurements are done by transmitting a number of packets of the order of 10 .    
we compare the following strategies for application layer ( unequal ) error protection ( see table 5 ) .
no application layer protection ; in this case all the available bitrate is used for representing the video sequence .
application layer equal error protection ( eep ) : in this case a higher protection is uniformly provided to the bitstream , resulting in a higher robustness in bad channel / network conditions , but in a reduced global quality when channel / network conditions are good .
application layer roi - based unequal error protection : similar as in the case above , this scheme results in a higher robustness in bad channel / network conditions , but in a reduced global quality when channel / network conditions are good .
in this case , however , the redundancy is exploited to protect the most important information from the point of view of the diagnosis and an improved quality in terms of probability to perform a correct diagnosis is expected also when channel conditions are bad .
application layer roi - based and prediction - based unequal error protection ; this scheme results in a higher robustness in bad channel / network conditions , but in an even more reduced global quality when channel / network conditions are good . in this case
, the redundancy is exploited to protect the most important roi from the point of view of the diagnosis and the most important information for motion compensation prediction ( i frames ) .
an improved quality in terms of probability to perform a correct diagnosis is expected also when channel conditions are bad . in medical applications
, the target of the optimization of the transmission system should not be the minimization of distortion in terms of mean square error ( or equivalently the maximization of the peak signal - to - noise ratio , psnr ) , but the maximization of the probability of performing a correct diagnosis based on the received video sequence . although not designed for this purpose ,
according to preliminary studies [ 13 , 52 ] the structural similarity metric ( ssim )   better meets this criterion and for this reason we consider in this paper ssim in addition to the well - known psnr .
although the performance assessment of such a scheme should be done through subjective metrics , results are presented in terms of the aforementioned well known objective metrics in order to allow easy comparison with results obtained by other authors and to give an indication of the local distortion achieved in different rois .         
we consider local distortion as in the following : 
 ( 13)mseroir=1nri=1nr(xiyi)2,psnrroir=10  log  102552mseroir , 
							 where nr is the number of pixels in roi ; r ,  xi and yi represent the luminance of pixel i in the original and in the corrupted frame , respectively .       
we then consider a slightly modified version of the ssim metric in . the ssim index , as shown in ( 14 ) ,
can be written as the product of three independent contributions , representing the luminance information , the contrast information , and the structural information . with x and y indicating image signals in the reference and received image , 
 ( 14)ssim(x ,  y)=l(x ,  y)c(x ,  y)s(x ,  y ) , 
							 where the luminance comparison is represented by the term 
 ( 15)l(x ,  y)=2xy+c1x2+y2+c1 
							 and for the contrast comparison 
 ( 16)c(x ,  y)=2xy+c2x2+y2+c1 . 
							
the structural comparison term s(x , y ) is 
 ( 17)s(x ,  y)=xy+c3xy+c3 . 
							 in the expressions above
, we use a 11  11 circular - symmetric gaussian weighting function wi , with standard deviation of 1.5 samples , normalized to sum to unity : iwi = 1 . the statistics are thus defined as 
 ( 18)x=1ni=1nwixi,x2=1n1i=1nwi(xix)2,xy=1n1i=1nwi(xix)(yiy ) . 
							
we then define the mssim metric for roir as 
 ( 19)mssimroir(xr , yr)=1mj=1mssim(xr , j , yr , j ) , 
							 where m is the number of local windows in roi r and j is the local window index . numerical results obtained in the conditions described above , and summarized in table 6 , are reported in table 7 .
note that the quality of the diagnostically important region of interest is lower than the quality of the background in the unprotected case , due to the different complexity and the use of the same quantization parameter for the different rois .
a uniform protection scheme at the application layer ( eep ) increases the total quality of the sequence , but it fails in sensibly increasing the quality of the most important roi for the diagnosis .
we highlight here that the schemes where fec is applied at the application layer are compared with an uncoded scheme where a higher bitrate is adopted in source encoding , in order to allow a fair comparison .
both the uep schemes manage to improve the quality of roi 1 , at the expense of a slight decrease in quality in the remaining part of the images .
the scheme uep 1 provides a slightly higher quality for roi 1 , both in terms of psnr and ssim .
scheme uep 2 provides an improvement of about 1  db in psnr with a decrease in quality with respect to scheme uep 1 of only 0.2  dbs in roi 1 and it can be preferable in some scenarios as also confirmed by subjective tests .
the sequence corresponding to image [ e ] is the one selected by the medical specialist involved in the study as the one best keeping diagnostic quality .
we have proposed in this paper a context - aware transmission strategy for diagnostic - quality ultrasound video transmission over wimax systems .
context , in terms of regions of interest ( roi ) in a specific session , is taken into account for the identification of multiple regions of interest , and compression / transmission strategies are tailored to such context information .
we have presented a methodology based on h.264 medical video compression and fmo for roi identification .
two different unequal error protection methodologies , providing higher protection to the most diagnostically relevant data , are compared .
results show that the proposed scheme allows an improvement for the diagnostic region of interest of about 3  dbs in psnr and 0.31 in ssim with respect to the case where such an approach is not adopted , still obtaining a small improvement in quality in the rest of the image ( 0.81.6 in psnr for uep 1 and uep 2 , resp . ) .
 the most recent network technologies are enabling 
 a variety of new applications , thanks to the provision of increased bandwidth and better management of quality of service . 
 
 nevertheless , telemedical services involving multimedia data are still lagging behind , due to the concern of the end users , that is , 
 clinicians and also patients , about the low quality provided . indeed 
 , emerging network technologies should be appropriately 
 exploited by designing the transmission strategy focusing on quality provision for end users . 
 stemming from this principle , we 
 propose here a context - aware transmission strategy for medical video transmission over wimax systems . 
 context , in terms of 
 regions of interest ( roi ) in a specific session , is taken into account for the identification of multiple regions of interest , 
 and compression / transmission strategies are tailored to such context information . 
 we present a methodology based on h.264 
 medical video compression and flexible macroblock ordering ( fmo ) for roi identification . 
 two different unequal error 
 protection methodologies , providing higher protection to the most diagnostically relevant data , are presented . 
1. Introduction
2. Main Concepts and State of the Art
3. Problem Formulation and Proposed Transmission Scheme
4. Implementation and Results
5. Conclusion