Patent ID: 8582917

Claim:
A data conversion method, for converting a three-dimensional image data to a one-dimensional image data, applicable to storage and reading of a buffer memory, the data conversion method comprising: (A) marking a three-dimensional index CU(x,y,z) on U data blocks in the three-dimensional image data, wherein a size of each data block is P units, x represents an x th data block in a first direction in the three-dimensional image data, y represents a y th data block in a second direction in the three-dimensional image data, and z represents a z th data block in a third direction in the three-dimensional image data; (B) converting the three-dimensional index CU(x,y,z) to a writing sequence index I n (t), wherein n represents that the data block is stored in the buffer memory in an n th storage procedure, and t represents a time sequence in each storage procedure; (C) inputting the U data blocks in the three-dimensional image data to the buffer memory in sequence according to the writing sequence index I n (t); (D) computing a reading sequence index O n (t) according to the writing sequence index I n (t); (E) outputting the U data blocks from the buffer memory in sequence according to the reading sequence index O n (t); and (F) repeating Steps (C), (D), and (E), using the reading sequence index O n (t) as a next writing sequence index I n+1 (t), and inputting next U data blocks in the three-dimensional image data to the buffer memory in sequence according to the writing sequence index I n+1 (t), until all the data blocks in the three-dimensional image data are output.