Calibrated depth map?
Calibrated depth map?
Hello
I'm using microscope with stepmotor on focus knob. So, I know the distance between stack images along optical axis of microscope, stack step. After processing by Helicon Focus I can obtain depth map. Depth values are distributed between 0 and 255. Is it possible to establish relationship between these values and known stack step, to obtain calibrated depth map?
Thank you for your help
Valeriy
I'm using microscope with stepmotor on focus knob. So, I know the distance between stack images along optical axis of microscope, stack step. After processing by Helicon Focus I can obtain depth map. Depth values are distributed between 0 and 255. Is it possible to establish relationship between these values and known stack step, to obtain calibrated depth map?
Thank you for your help
Valeriy
Re: Calibrated depth map?
Yes, it's possible. If А is a starting point, and B is the end point, the depth map step is (B-А)/255
Re: Calibrated depth map?
Catherine,
Thanks a lot for your valuable information. It is very important, it seems it should be placed somewhere in Helicon Focus manual, tutorial.
Please, could you inform, is it possible to calibrate depth data, extracted from vertices of *.obj file?
Best regards
Valeriy
Thanks a lot for your valuable information. It is very important, it seems it should be placed somewhere in Helicon Focus manual, tutorial.
Please, could you inform, is it possible to calibrate depth data, extracted from vertices of *.obj file?
Best regards
Valeriy
Re: Calibrated depth map?
Depth map can be both obtained from .obj file and saved as a black&white image (exported depth map). The min value (0) corresponds to the first image of the stack, the max value - to the last one. If you know the distance between frames, the depth map can be easily calibrated.
Re: Calibrated depth map?
Catherine,
Thanks for your reply.
>The min value corresponds to the first image of the stack, the max value - to the last one.
Is this statement correct, if in stack a few first and a few last frames are out of focus? Perhaps, is more correctly to assign to depth step between frames value (B-А)/255?
>Depth map can be both obtained from .obj file and saved as a black&white image (export depth map).
Thank you. Situation with exported depth map file is clear, you have explained it in your reply of 16/10/2019. In this file we have 255 depth levels. But in *.obj file depth data have 4 significant digits, so depth data are quasi continuous and their calibration is not obvious.
Probably, they could be calibrated by comparison of min and max data from gray depth file and assign min and max values of *.obj file to those values, but I don't sure that this is the best calibration way.
Best regards
Valeriy
Thanks for your reply.
>The min value corresponds to the first image of the stack, the max value - to the last one.
Is this statement correct, if in stack a few first and a few last frames are out of focus? Perhaps, is more correctly to assign to depth step between frames value (B-А)/255?
>Depth map can be both obtained from .obj file and saved as a black&white image (export depth map).
Thank you. Situation with exported depth map file is clear, you have explained it in your reply of 16/10/2019. In this file we have 255 depth levels. But in *.obj file depth data have 4 significant digits, so depth data are quasi continuous and their calibration is not obvious.
Probably, they could be calibrated by comparison of min and max data from gray depth file and assign min and max values of *.obj file to those values, but I don't sure that this is the best calibration way.
Best regards
Valeriy
Re: Calibrated depth map?
We recommend to use the depth map as a primary source. Data in obj file is formed based on the depth map. Even if the first and the last frames of the stack are out of focus, the depth map is still normalized by the number of files in the stack.
Re: Calibrated depth map?
Does the Maximum dept value always 255 or it is changing from the situation to situation?
Re: Calibrated depth map?
No, it's always 255
Re: Calibrated depth map?
These values are not proportionate to any physical quantity. They are only proportional to the source image number in the sequence. You seem to be looking for a way to measure depth from photos using Helicon Focus, but it's not possible (it may be possible in principle, but not with any help of our software).
Re: Calibrated depth map?
vaster04
On your microscope with stepmotor on focus knob if possible can you give a picture of the stepmoter controling your focus knob and or the model number and make of the stepmotor? I was just curious what that looked like. TYIA
On your microscope with stepmotor on focus knob if possible can you give a picture of the stepmoter controling your focus knob and or the model number and make of the stepmotor? I was just curious what that looked like. TYIA