PROBLEM TO BE SOLVED: To provide a computer program, an image processing apparatus, an image processing method, and voxel data capable of suppressing moire.SOLUTION: The computer program causes a computer to execute: a process for acquiring image data of a plurality of xy plane images captured at predetermined intervals along the z-axis direction; a process for generating a provisional voxel structure composed of voxels having RGB values and opacity corresponding to respective pixels of each of a plurality of xy plane images in which the RGB values and the opacity are set for pixel values of the xy plane images; a process for generating a voxel structure by correcting the opacity of voxels based on the opacity of neighboring voxels located in the vicinity of the voxels for those of the provisional voxel structure; and a process for generating a rendering image by performing a volume rendering process on the voxel structure.SELECTED DRAWING: Figure 13COPYRIGHT: (C)2020,JPO&INPIT【課題】モアレを抑制することができるコンピュータプログラム、画像処理装置、画像処理方法及びボクセルデータを提供する。【解決手段】コンピュータプログラムは、コンピュータに、z軸方向に沿って所定間隔で撮像された複数のxy平面画像の画像データを取得する処理と、xy平面画像の画素の値に対してRGB値及び不透明度が定められ、複数のxy平面画像それぞれの各画素に対応するRGB値及び不透明度を有するボクセルで構成される暫定ボクセル構造体を生成する処理と、暫定ボクセル構造体のボクセルに対して、ボクセルの近傍に位置する近傍ボクセルの不透明度に基づいて、ボクセルの不透明度を補正してボクセル構造体を生成する処理と、ボクセル構造体に対してボリュームレンダリング処理を行ってレンダリング画像を生成する処理とを実行させる。【選択図】図13