Dalam perancangan sebelum pembedahan cancer Hepatocellular (HCC), secara tradisional doktor-doktor pembedahan perlu menggunakan peralatan khusus untuk melihat imej 2 dimensi (2D) dan mendapatkan maklumat isipadu hati serta menbinakan regaman hati 3 dimensi (3D) secara minda. Ini merupakan satu tugas yang susah walaupun bagi doktor pembedahan yang berpengalaman. Oleh itu, projek ini membekalkan satu persekitaran realiti maya (VR) untuk membina regaman hati 3D. Ini dilaksanakan dengan penukaran kepingan 2D abdomen imej kepada regaman hati 3D dan pembinaan antara muka pengguna bergrafik (GUI) untuk tujuan perancangan sebelum pembedahan. Algoritma Marching Cubes diperkenalkan dalam pembinaan semula sirat 3D dan regaman 3D. Regaman tersebut dilukis pada GUI dengan menggunakan Open Graphics Libraries (OpenGL) manakala Microsoft Visual C++ 2008 Express Edition digunakan untuk membina GUI yang membolehkan pengguna-pengguna saling bertindak dengan regaman 3D. Selain itu, GUI juga membekalkan pelbagai fungsi untuk memanipulasikan regaman 3D supaya memenuhi keperluan asas realiti maya. Keputusan diperolehi dengan melukis regaman 3D pada GUI. Pretasi aplikasi ini diuji daripada aspek saling tindak pengguna dengan GUI dan juga bilangan permukaan segitiga yang dijanakan dalam pembinaan regaman 3D.
_________________________________________________________________________________________
In traditional Hepatocellular Carcinoma (HCC) pre-surgical planning, surgeons are required to view the volumetric information using specific 2D image viewers and build a mental 3D liver model. This is a difficult task even for the experienced surgeons. Hence this project is to provide virtual reality (VR) environment which done by converting 2D abdominal slices into 3D model and develop graphical user interface (GUI) for pre-surgical planning. Marching cubes algorithm is introduced to reconstruct the 3D mesh obtain 3D model. The model is drawn by using OpenGL graphical library on the GUI. Development of GUI using Microsoft Visual C++ 2008 Express Edition provides interface between user and the 3D model. It provides the users many functions to manipulate the 3D model in order to fulfill the basic requirement in virtual reality (VR). Results are obtained by drawing the 3D models on GUI. Performance of the application is measured by the interaction between GUI and user and also the total number of triangular facets created to reconstruct the 3D model.