I am using the shapenet dataset. From this dataset, I have 3d models in .obj format. I rendered the images of these 3d models using pyrender library which gives me an image like this : enter image description here

Now I am using raycasting to voxelize this image. The voxel model I get is something like below :

enter image description here

I am not able to understand why I am getting the white or light brown colored artifacts in the boundary of the object.

The reason I could come up with was maybe the pixels at the boundary of the object contain two colors, so when I traverse the image as numpy array, I get an average of these two colors which gives me these artifacts. But I am not sure if this is the correct reason.

If anyone has any idea about what could be the reason, please let me know

  • 2
    $\begingroup$ Is that related to AI? Please explain $\endgroup$ – user27450 Jan 6 '20 at 18:04
  • 1
    $\begingroup$ This is off topic. @nbro $\endgroup$ – Clement Hui Jan 7 '20 at 0:40
  • $\begingroup$ I checked on google for the forums where I can ask questions about computer vision. This forum came up citing the reason that since "computer-vision" is available as one of the tags, questions related to this can be posted here $\endgroup$ – mascot Jan 8 '20 at 11:16
  • $\begingroup$ Please refer to the help center for questions that is on topic. ai.stackexchange.com/help/on-topic $\endgroup$ – Clement Hui Jan 8 '20 at 15:04
  • $\begingroup$ The computer vision tag in this case means this: For questions related to computer vision, which is an interdisciplinary scientific field (which can e.g. use image processing techniques) that deals with how computers can be made to gain high-level understanding from digital images or videos. For example, image recognition (that is, the identification of the type of objects in an image) is a computer vision problem This is defined in the tag wiki of the computer-vision tag. Your question clearly does not fit the description of the tag. $\endgroup$ – Clement Hui Jan 8 '20 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.