Rank: 2594 based on 53 downloads (last 30 days) and 1 file submitted
photo

Hassan Radvar-Esfahlan

E-mail
Company/University
Université du Québec; ÉTS

Personal Profile:
Professional Interests:
Metrology, Geometric inspection of flexible parts

 

Watch this Author's files

 

Files Posted by Hassan
Updated   File Tags Downloads
(last 30 days)
Comments Rating
15 Jun 2010 Screenshot Hausdorff Distance Computes the Hausdorff distance between two point clouds. Author: Hassan Radvar-Esfahlan hausdorff distance, mathematics 53 7
  • 4.0
4.0 | 4 ratings
Comments and Ratings by Hassan View all
Updated File Comments Rating
04 Dec 2010 weighted total least squares straight line fit Calculates the parameters (and their uncertainties) to data with uncertainties in both coordinates Author: Mathias Anton

Hi,
I am wondering what is the uncertainties of a and b in fonction of uncertainties in xin and yin?
Thanks,

04 Dec 2010 weighted total least squares straight line fit Calculates the parameters (and their uncertainties) to data with uncertainties in both coordinates Author: Mathias Anton

Hi,
I am wondering what is the uncertainties of a and b in fonction of uncertainties in xin and yin?
Thanks,

15 Jun 2010 Hausdorff Distance Computes the Hausdorff distance between two point clouds. Author: Hassan Radvar-Esfahlan

Dear Danziger
1) What you mean by crash? So, how you have verified the code?
2) I did not terminate with semicolon because I did not want to suppress the output.
3) The code is designed for n-dimensional space, but the previous version ( by: Zachary Danziger) works only with 2-dimensional data which is rarely occurs in real engineering applications.
Thanks for your evaluation.

26 Oct 2009 Exact geodesic for triangular meshes Geodesic (shortest path) algorithm for triangular mesh (triangulated 2D surface in 3D). Author: Danil Kirsanov

Hi Danil and thanks for sharing this code. Actually i use Matlab (R2009a). for example 1 this error occured:
??? Error using ==> calllib
Pointer type must match data type

Error in ==> geodesic_distance_and_source at 19
[num_vertices, d, s] = calllib(geodesic_library, 'distance_and_source_for_all_vertices',
algorithm.id, tmp, tmp1);

Error in ==> example1 at 26
[source_id, distances] = geodesic_distance_and_source(algorithm);
approximately the same errors for example 3 and 5 but works very nice for examples 2 and 4.

16 Sep 2009 Toolbox Fast Marching A toolbox for the computation of the Fast Marching algorithm in 2D and 3D. Author: Gabriel Peyre

Merci beaucoup Peyre for sharing et aussi pour superbe site avec many explanations.

Comments and Ratings on Hassan's Files View all
Updated File Comment by Comments Rating
30 Aug 2011 Hausdorff Distance Computes the Hausdorff distance between two point clouds. Author: Hassan Radvar-Esfahlan Mohammad

I have a Question, if I have two vectors,

is it possible to use of your M-file?

for example X1= x1=[1;2;3;4]
and x2=[3;6;4;1]
then error will appear

Error in ==> hausdorff at 16
if(size(A,2) ~= size(B,2))

22 Nov 2010 Hausdorff Distance Computes the Hausdorff distance between two point clouds. Author: Hassan Radvar-Esfahlan Mota, Guilherme

I 've tested the original code two times, before and after the modifications proposed in the previous comments. The results were identical. However, despite being minor changes, we felt more comfortable with the modified one. In our application, that is the final code of the Hausdorff function:

function [dH] = hausdorff( A, B)
% I 've changed dist to dH
if(size(A,2) ~= size(B,2))

fprintf( 'WARNING: dimensionality must be the same\n' );

dH = [];
% I 've changed dist to dH
return;

end

dH = max(compute_dist(A, B), compute_dist(B, A))
; %I've included a semicolon

The rest was left unchanged.

I would like to express my gratitude to the author of this function Mr. Hassan Radvar-Esfahlan.

08 Jul 2010 Hausdorff Distance Computes the Hausdorff distance between two point clouds. Author: Hassan Radvar-Esfahlan Airballman

The update is not made yet, I had to change the code.
But it seems to be ok.
Thx!

17 Jun 2010 Hausdorff Distance Computes the Hausdorff distance between two point clouds. Author: Hassan Radvar-Esfahlan Sarkar, John

Good job. Thanks for sharing.

15 Jun 2010 Hausdorff Distance Computes the Hausdorff distance between two point clouds. Author: Hassan Radvar-Esfahlan Danziger, Zachary

Its a good code.
The only (small) issue is that line 21 of the code is:
"dH = max(compute_dist(A, B), compute_dist(B, A))"
But the function is looking for the output called "dist". A small update to:
"dist = max(compute_dist(A, B), compute_dist(B, A));"
Without the update the code will not run and gives the error I mentioned. I'd be glad to change my rating to 5 stars after that very small change. :)

Contact us