How to calculate the volume of each pixel?

조회 수: 2 (최근 30일)
Paul Costache
Paul Costache 2021년 8월 10일
댓글: Image Analyst 2021년 8월 11일
Hello, I am working on this project where the goal is to use pictures of sand/small stone particles taken with a digital microscope and calculate their volume. The microscope software also allows me to save the result in form of a 2D-height map which will be used to calculate the volume. I used Color Thresholder App and HSV.
After getting a masked Image where the background, margin particles, etc. are removed I need to calculate the area of each pixel and multiply it with the height given by the color map.
As the particles differ in height the maximum in the color map (dark red) needs also somehow to be included in the code (channel 1 in HSV, goes from 0-255).
As I can't ask how it's done, I would kindly ask you if you know similar projects (as I couldn't find anything similar) or ask for some hints to some useful pages in the documentation or formulas. As a side note this is my first time using matlab, therefore if I somehow missed something obvious, this would be the explanation why.
  댓글 수: 1
Image Analyst
Image Analyst 2021년 8월 11일
You just rendered your question useless with your edit when you removed the pictures. I would not expect any more answers. So, good luck with it.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2021년 8월 11일
You can't get the volume from one view unless you make assumptions. Like the blob is a sphere. Or it's a cylinder whose radius varies along it's spine, or something like that. Why do you need the volume? Why can't the area distribution be good enough for whatever you want to do?

카테고리

Help CenterFile Exchange에서 3-D Volumetric Image Processing에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by