can we obtain depth information from RMI frames?
1 回表示 (過去 30 日間)
古いコメントを表示
Hi everybody, As known depth information can be obtained from stereo images. But what i'm looking for, is it possible to get depth information from RMI images?? otherwise, is there any similar measure for the RMI images??
thanks
2 件のコメント
採用された回答
Walter Roberson
2015 年 9 月 14 日
To expand slightly: You need to approximate depth information from stereo images by examining two images at known distances and angles and using the difference in pixel locations of objects to figure out how far away they must be (the further away, the less they move.) You do this because you have a limited knowledge of the positions of the objects.
For MRI images, however, every voxel has a known location. Scanning is done over a regular grid with known spacing in 2D, and this is repeated for each layer in Z with the distance between the Z layers known. The pixel sizes and the distance between Z layers can be extracted from the headers. Be careful, as it is not uncommon that the Z distance is twice as large as the pixel sizes, so you cannot usually just use pixel indices, but the conversion from indices to coordinates is trivial.
As you can easily calculate the spacial coordinates of every voxel, there is no need to do stereo projection or otherwise approximate locations. You can just calculate distances.
xcoord = column_number * pixel_x_size;
ycoord = row_number * pixel_y_size;
zcoord = slice_number * z_separation;
and then with the x, y, z coordinates of two points in hand, you can use pythagorean theorem, sqrt((x2 - x1)^2 + (y2 - y1)^2 + (z2 - z1)^2)
その他の回答 (1 件)
Image Analyst
2015 年 9 月 14 日
You can get relative depth and distances from MRI images.
2 件のコメント
Image Analyst
2015 年 9 月 14 日
Find one point. I don't know what point you want to find though.
Then find the other point. Again, I have no idea what second point you have in mind.
Then use the Pythagorean theorem or the hypot() function to compute the distance (in pixels) between the two points. Multiply by a spatial calibration factor if you need to convert into real world distances, such as millimeters.
参考
カテゴリ
Help Center および File Exchange で Camera Calibration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!