Réponse apportée
Optimizing the 'drawnow' function for an oscillating circle
throw a pause(0.02) in the while loop after the drawnow

plus de 13 ans il y a | 0

Réponse apportée
how to extend line of image
if... x1=1,x2=2 and... y1=1,y2=5 (2,5)-(1,1)=m=(1,4), is your slope so m1=1,m2=4 try plot([x1 x2]+1e6*[-m1 m1],...

plus de 13 ans il y a | 0

Réponse apportée
Concatenate arrays
it makes it '3d'

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Detecting shapes-lsm format?
try looking at hist(i,100) and picking out a threshold manually. somewhere to the right of the big background spike on the left....

plus de 13 ans il y a | 0

Réponse apportée
so I'm making a videogame
y=get(h,'ydata'); x=get(h,'xdata'); hy = hypot(ye-y,xe-x)<8; set(e(hy),'visib...

plus de 13 ans il y a | 0

Question


so I'm making a videogame
I have a vector of enemy handles so that I can assign visibility to certain enemies and not others, but once I update all of the...

plus de 13 ans il y a | 3 réponses | 0

3

réponses

Réponse apportée
Need help creating a matrix that updates based on input to a GUI
what if you did this: matrix = [matrix; (button input)]; so m = [1 2 3] would go to m = [1 2 3; 4 5 6] with [4 5 6...

plus de 13 ans il y a | 1

| A accepté

Question


line of sight
is there a nice way to get the line of sight from one pixel to the remaining pixels in an image? like if I had a binary image of...

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Making some intensity values of image to zero
if your image is 'a', try a(a>threshold)=0; or try max(a,threshold); which makes the values equal to your thre...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
what is subpixel
sometimes for tracking purposes, an object will be smaller than the pixel size of the image, but it will still affect the intens...

plus de 13 ans il y a | 0

Réponse apportée
how to improve PSNR of an compressed image?
so, you lose psnr after compression? mmmm, i don't know about this topic but can you try doing a fft before the compression and ...

plus de 13 ans il y a | 0

Réponse apportée
Random Number Generator, lower numbers have higher chance
just create the distribution n=1:20; dist = []; for t=1:20 dist = [dist, n(t) * ones(1, round( 20/n(t) ...

plus de 13 ans il y a | 0

Question


specifying the handle as you plot
if I try to plot the following: plot(0.5,0.5) Is there any way to specify what handle the object will have while using ...

plus de 13 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
watershed I have an image with contours but this ALgorithme don't output a good result, if someone has a good solution please , i need your help
watershed hates noise, so you might want to smooth the image first if that's the problem

plus de 13 ans il y a | 0

Réponse apportée
removing unwanted pixels
load the image and make it so black==0 and white==1, then... Words = imclearborder(~IMG) if you want to crop it, you ca...

plus de 13 ans il y a | 0

Réponse apportée
how write a matlab code for adaptive thersholding
that depends on a lot of things, but you could try using im2col to analyze your image in discrete blocks and apply whatever func...

plus de 13 ans il y a | 0

Réponse apportée
Plotting my own data in a matlab figure.
I'm kind of confused here. you have a 3d plot with 2-d data? can you just set the third vector as zeros and use hold to plot it ...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Image processing
yeah, use Euler's method and just subtract one from another and search the zeros or, as the guy above said, add a tolerance leve...

plus de 13 ans il y a | 0

Réponse apportée
adaptive filtering by using uncorrelativity feature
you can get the signal mean to zero by subtracting the original mean. then divide by the variance, to make the variance effectiv...

plus de 13 ans il y a | 0

Réponse apportée
watermarking medical image 3d
Do you mean the image is several 2-d slices or the actual composite into voxels? either way, I imagine you'd have to alter the i...

plus de 13 ans il y a | 0

Réponse apportée
How can I select lines in a subplot and delete them?
when you use gca for h2 it will only look in the last axes that was called. you can try recalling the subplot you want, then doi...

plus de 13 ans il y a | 0

Réponse apportée
functions vs. script
I find it easier to write separate functions and then just call them as needed with some big script or function instead of copy ...

plus de 13 ans il y a | 1

Réponse apportée
Processing time - seems to get stuck after drawing graphs
that used to happen to me when running scripts, so I switched to only using functions to get graphs and it went away. why? I don...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
3D plot making smooth
you can maybe use a cubic polynomial spline to fit your curve and then upsample it to get more points, then plot those. I don't ...

plus de 13 ans il y a | 0

Réponse apportée
matlab code for image denoising
There are a few different types of noise that may be present in an image. Different techniques can handle each type of noise bet...

plus de 13 ans il y a | 0

Réponse apportée
convex hull perimeter
The easiest way to discriminate between shapes is the circularity (perimeter^2/area) and eccentricity (major axis/minor axis). I...

plus de 13 ans il y a | 0

Question


transfer space equivalent of the hausdorff distance
Hi, I'm new here. I've been learning MATLAB on my own for a while, but as things get more complicated, my work has been slowing ...

plus de 13 ans il y a | 1 réponse | 0

0

réponse