COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register
tkittler (93) 23 Articles, 70 Replies, 93 Points

Since 5/30/2012 5:29:29 PM, tkittler has written 23 articles and participated in 70 conversations.
tkittler signature:
tkittler

tkittler's articles:
 Items(23) /3 Next >> Last >| if statement #11 3 18 (8/20/2013 2:20:27 PM) comp.soft-sys.matlabI have these two codes in my project ; a= egnrm_stack(k-1,1); b= egnrm_stack(k,1); When I checked the values of them, I saw that a = 0.0188 b = 0.0188 My codes are ; if ...S imwrite to write image and its contour on it ? 1 16 (7/18/2013 7:03:09 AM) comp.soft-sys.matlabHi all, figure(1), imagesc(uint8(Img),[0 255]),colormap(gray),axis off;axis equal, hold on, contour(phi,[0 0],'r','linewidth',1); I would like to write the image and its contour on it ...S curve evolution as movie (urgent) 1 17 (6/10/2013 1:44:10 PM) comp.soft-sys.matlabhi, I can see the curve evolution on an image by these codes, for k=1:100 figure(3); title(k); imagesc(Img,[0, 255]); axis off; axis equal; colormap(gray); hold on; contour(phi1, [0,0...S Alternative solution for NAN 11 26 (2/27/2013 9:02:09 AM) comp.soft-sys.matlabThe following code gives NAN (Not a Number) values [U,D]=eig(N); To solve this problem, I wrote that while(det(N) == 0) N=(1e-10.*randi(1,size(N)))*eye(size(N)); end But, the loop does not stop...Carl Alternative solution for NAN problem 0 14 (2/27/2013 9:00:08 AM) comp.soft-sys.matlabThe following code gives NAN [U,D]=eig(N); To solve this problem, I wrote that while(det(N) == 0) N=(1e-10.*randi(1,size(N)))*eye(size(N)); end But, the loop does not stop :( Are there any alte...Carl ROC curve of target and source images 9 34 (2/25/2013 12:06:08 PM) comp.soft-sys.matlabHi, I need matlab codes to plot a roc curve of target and source images (I have searched but the files in FileExchange are not clear (not get image files as input to give the plotted curve) for my purpos...Carl Is gradient(I(x,y)) vector ? 1 16 (2/8/2013 4:43:08 AM) comp.soft-sys.matlabHi When you compute the gradient of an image (8bit, grayscale), then is the result vector or scalar ? I mean that does grad(I(x,y)) return vector values or scalar values ? ...Carl plot or mesh or ? 5 14 (1/2/2013 6:54:09 PM) comp.soft-sys.matlabHi, I want to understand a function that has the following codes; f1 =(1/2/epsilon)*(1+cos(pi*phi1/epsilon)); b = (phi1=-epsilon); f = f1.*b; Here, phi1 is double and 256x256. The term epsilon is a con...Carl display positive indexed pixels 3 36 (12/23/2012 9:45:08 AM) comp.soft-sys.matlabHi, I have a grayscale image. I have some pixels that have values index: 0.329 RGB: 0.487 0.487 0.487 How can you show only these pixels ? (I do not want to display the pixels which have negative index...Carl mpower input to eig must not contain nan or inf 7 33 (11/13/2012 12:26:13 PM) comp.soft-sys.matlabHi, I want to compute the derivative of 10^-2*s when s0 So, I wrote this : 10^(-2*s))*log(10)*(-2) But I am getting the error : "mpower input to eig must not contain nan or inf" How can I solve t...Carl

tkittler's replies:
 Items(17) /2 Next >> Last >| convert binary to gray 7 58 (1/26/2012 6:53:22 PM) comp.soft-sys.matlabhow to convert a logical binary image into same size gray image? I have tried y=bin2gray(x,'qam',16) function but here for x this function does not take the binary image directly. all I need to convert the bin...u.ingenieria.bd (11) EIG must not contain NAN :( 3 159 (2/10/2012 10:29:12 AM) comp.soft-sys.matlabHi, could you please help about the error on these codes; u=1e-10; for p=10:-1:1 B=C+u.*eye(size(C)); if det(B)==0 % ==> there is not an inverse matrix of B so u is increased by 10 u=u*10; e...tkittler (93) Imwrite plotted edges after filling the holes 5 49 (3/4/2012 6:42:13 AM) comp.soft-sys.matlabHi, I have the following codes; % construct the edge map edg = [subpix_x'/(n+1) subpix_y'/(n+1) atan2(subpix_dir_y2', subpix_dir_x2') mag_e']; [m,n] = size(edg); % plot the edgels for i=1:m, plot([edg(i...tkittler (93) Maximum variable size allowed by the program is exceeded #4 11 60 (7/11/2012 6:51:08 PM) comp.soft-sys.matlabHi, I am getting the strange error, and need your help My ALL images are 256x256 !!! This runs correctly; >> [x,y] = find(abs(M)> img(x,y) In this case size(x) is 764x1 but this gives the error...tkittler (93) Error: Matrix dimensions must agree #2 29 33 (10/1/2012 11:26:07 AM) comp.soft-sys.matlabHi I would like to run this code H = laplacian(Img_smooth)-abs([Ix,Iy])*div([Ix,Iy]/abs([Ix,Iy])); But the divergence function is written as this function f = div(nx,ny) [nxx,junk]=gradient(nx); [ju...tkittler (93) mpower input to eig must not contain nan or inf 7 33 (11/13/2012 12:26:13 PM) comp.soft-sys.matlabHi, I want to compute the derivative of 10^-2*s when s0 So, I wrote this : 10^(-2*s))*log(10)*(-2) But I am getting the error : "mpower input to eig must not contain nan or inf" How can I solve t...tkittler (93) plot or mesh or ? 5 14 (1/2/2013 6:54:09 PM) comp.soft-sys.matlabHi, I want to understand a function that has the following codes; f1 =(1/2/epsilon)*(1+cos(pi*phi1/epsilon)); b = (phi1=-epsilon); f = f1.*b; Here, phi1 is double and 256x256. The term epsilon is a con...tkittler (93) Dirac Delta Question 12 31 (1/17/2013 9:42:09 PM) comp.soft-sys.matlabHey y'all, I'm very confused as to how to numerically incorporate dirac delta behaviour into my differential equation. Maybe I'm using a wrong approach? I keep getting error messages to no avail. Any advice wou...samnuzbrokh (1) ROC curve of target and source images 9 34 (2/25/2013 12:06:08 PM) comp.soft-sys.matlabHi, I need matlab codes to plot a roc curve of target and source images (I have searched but the files in FileExchange are not clear (not get image files as input to give the plotted curve) for my purpos...tkittler (93) Alternative solution for NAN 11 26 (2/27/2013 9:02:09 AM) comp.soft-sys.matlabThe following code gives NAN (Not a Number) values [U,D]=eig(N); To solve this problem, I wrote that while(det(N) == 0) N=(1e-10.*randi(1,size(N)))*eye(size(N)); end But, the loop does not stop...tkittler (93)