The second block portion corresponding to the determined transformed block portion is selected, and block position information indicating the position of {HEAD ~ the selected second block portion} and a transformation parameter representing {TAIL ~ the transform processing} of the selected second block portion are output 
The second block portion corresponding to the determined transformed block portion is selected , and block position information indicating the position of { HEAD ~ the selected second block portion } and a transformation parameter representing { TAIL ~ the transform processing } of the selected second block portion are output
OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH OTH HEAD HEAD HEAD HEAD HEAD HEAD HEAD HEAD HEAD OTH OTH OTH OTH OTH TAIL TAIL TAIL TAIL TAIL TAIL TAIL OTH OTH OTH OTH OTH OTH OTH OTH