How to calculate the volume of each pixel?

2 次查看(过去 30 天)
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