Rank: 568 based on 125 downloads (last 30 days) and 8 files submitted
photo

Prakash Manandhar

E-mail
Company/University
University of Massachusetts Dartmouth
Lat/Long
41.676945, -70.95917

Personal Profile:

PhD Student, Biomedical Engineering and Biotechnology (Electrical and Computer Engineering Based).

Web: http://p-manandhar.info

Professional Interests:
signal processing, bioinformatics, biomimetics

 

Watch this Author's files

 

Files Posted by Prakash View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Feb 2012 Screenshot Bezier Curve Function Vectorized function to calculate Bezier Curve Author: Prakash Manandhar mathematics, graphics, curve generation 10 1
  • 1.0
1.0 | 2 ratings
16 May 2011 Screenshot Simple demo program for color based tracking Simple script to read a video file and track a single red marker in 2D using hue and saturation. Author: Prakash Manandhar image processing, color based tracking 30 1
  • 5.0
5.0 | 2 ratings
07 Oct 2009 Screenshot Interpolation for missing data Interpolates using nearest neighbor, bilinear or bicubic formula for missing data points Author: Prakash Manandhar 2d, image processing, nonuniform grid, interpolation, nearest neighbor, missing data 8 1
  • 5.0
5.0 | 1 rating
15 Dec 2008 Screenshot Circular Hough Trasform in Polar Domain Detects center (xc, yc) and radius R of circle in an image in the polar domain. Author: Prakash Manandhar image processing, hough transform, circle detection, pattern recognition 6 0
04 Dec 2008 Screenshot Conditional Density Propagation Tracker (1 Dimenstional) Tracks parameter in clutter using Isard and Blake (1998)'s ConDensation Algorithm. Author: Prakash Manandhar particle filter, tracking, statistics, medical, signal processing, image processing 16 0
Comments and Ratings by Prakash View all
Updated File Comments Rating
03 Feb 2012 Bezier Curve Plotter constructs a Bezier curve using a given set of control points Author: Sagar Aiya

Great, but code could be vectorized with huge improvment for data with large number of sampling points. I have posted the vectorized code here:

http://www.mathworks.com/matlabcentral/fileexchange/34902

31 Jan 2012 Mesh voxelisation Voxelise a triangular-polygon mesh. Author: Adam A

02 Jul 2011 Panel Like subplot, but easier, and WYSIWYG export to file. Also fixes dashed/dotted lines in export. Author: Ben Mitch

30 Dec 2010 raytrace A function to model acoustic refraction due to variations in sound speed. Author: Val Schmidt

Thanks, this is fantastic.

10 Feb 2009 N-Dimensional BSplines Construct coefficients of interpolating or smoothing BSplines from N-dimensional array, analytically Author: Nathan Cahill

Thanks... Could it be possible to add circular and mirror boundary conditions and non-uniform nodal points?

Prakash.

Comments and Ratings on Prakash's Files View all
Updated File Comment by Comments Rating
20 Dec 2012 Polar To/From Rectangular Transform of Images converts rectangular image to polar and back Author: Prakash Manandhar Florian

Cool! Thanks a lot

14 Jun 2012 Simple demo program for color based tracking Simple script to read a video file and track a single red marker in 2D using hue and saturation. Author: Prakash Manandhar Kamya, Suraj

03 Apr 2012 Simple demo program for color based tracking Simple script to read a video file and track a single red marker in 2D using hue and saturation. Author: Prakash Manandhar Smart, Mr

27 Mar 2012 Polar To/From Rectangular Transform of Images converts rectangular image to polar and back Author: Prakash Manandhar Livingstone, Ruth

Sorry, That looks a little unclear. Here it is again

function imC = Polar2Im(imP,W,method)
%Polar2Im turns a polar image (imP) into a cartesian image (imC) of width W
%method can be: '*linear', '*cubic', '*spline', or '*nearest'.
imP(isnan(imP))=0;
w = round(W/2);
xy = (1:W-w);
[M N P]= size(imP);
[x y] = meshgrid(xy,xy);
n = round(N/4);
rr = linspace(1,w,M);
W1 = w:-1:1;
PM = [2 1 3;1 2 3;2 1 3;1 2 3];
W2 = w+1:2*w;
nn = [1:n; n+1:2*n; 2*n+1:3*n; 3*n+1:N;];
w1 = [W1;W2;W2;W1];
w2 = [W2;W2;W1;W1];
aa = linspace(0,90*pi/180,n);
r = sqrt(x.^2 + y.^2);
a = atan2(y,x);
imC= zeros(W,W,P);
for i=1:4 %turn each quarter into a cartesian image
imC(w1(i,:),w2(i,:),:)=permute(interp2(rr,aa,imP(:,nn(i,:))',r,a,method),PM(i,:));
end
imC(isnan(imC))=0;

27 Mar 2012 Polar To/From Rectangular Transform of Images converts rectangular image to polar and back Author: Prakash Manandhar Livingstone, Ruth

Hi

Thank you, this code is great, but takes a little too long for my application. After reading the thread I wrote similar code which works ~12 times faster for the PolarToIm section. It doesn't have quite the same functionality but I thought I would share it here in case others are having the same problem

function imC = Polar2Im(imP,W,method)
%Polar2Im turns a polar image (imP) into a cartesian image (imC) of width W
%method can be: '*linear', '*cubic', '*spline', or '*nearest'.
imP(isnan(imP))=0;
w = round(W/2); [M N P]= size(imP);
xy = (1:W-w); [x y] = meshgrid(xy,xy);
n = round(N/4); rr = linspace(1,w,M);
W1 = w:-1:1; PM = [2 1 3;1 2 3;2 1 3;1 2 3];
W2 = w+1:2*w; nn = [1:n; n+1:2*n; 2*n+1:3*n; 3*n+1:N;];
w1 = [W1;W2;W2;W1]; aa = linspace(0,90*pi/180,n);
w2 = [W2;W2;W1;W1]; r = sqrt(x.^2 + y.^2);
a = atan2(y,x); imC= zeros(W,W,P);
for i=1:4 %turn each quarter into a cartesian image
imC(w1(i,:),w2(i,:),:) = permute(interp2(rr,aa,imP(:,nn(i,:))',r,a,method),PM(i,:));
end
imC(isnan(imC))=0;

Top Tags Applied by Prakash
image processing, 2d, annotation, bayesian, bilinear bicubic
Files Tagged by Prakash View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 Feb 2012 Screenshot Bezier Curve Function Vectorized function to calculate Bezier Curve Author: Prakash Manandhar mathematics, graphics, curve generation 10 1
  • 1.0
1.0 | 2 ratings
16 May 2011 Screenshot Simple demo program for color based tracking Simple script to read a video file and track a single red marker in 2D using hue and saturation. Author: Prakash Manandhar image processing, color based tracking 30 1
  • 5.0
5.0 | 2 ratings
07 Oct 2009 Screenshot Interpolation for missing data Interpolates using nearest neighbor, bilinear or bicubic formula for missing data points Author: Prakash Manandhar 2d, image processing, nonuniform grid, interpolation, nearest neighbor, missing data 8 1
  • 5.0
5.0 | 1 rating
15 Dec 2008 Screenshot Circular Hough Trasform in Polar Domain Detects center (xc, yc) and radius R of circle in an image in the polar domain. Author: Prakash Manandhar image processing, hough transform, circle detection, pattern recognition 6 0
04 Dec 2008 Screenshot Conditional Density Propagation Tracker (1 Dimenstional) Tracks parameter in clutter using Isard and Blake (1998)'s ConDensation Algorithm. Author: Prakash Manandhar particle filter, tracking, statistics, medical, signal processing, image processing 16 0

Contact us