Answered

Why should I stay?

you don't have to do anything, especially in reaction to what you see as another person's or group's shortcomings. Weight the pe...

Why should I stay?

you don't have to do anything, especially in reaction to what you see as another person's or group's shortcomings. Weight the pe...

mer än 8 år ago | 0

Answered

fftshift in frequency filtering

I would imagine that you could directly apply low pass, but I don't really know. This is an interesting question. What happened ...

fftshift in frequency filtering

I would imagine that you could directly apply low pass, but I don't really know. This is an interesting question. What happened ...

mer än 8 år ago | 0

Answered

How to save/access an axes's properties using the handles structure?

I made a script which uses set(gca,'property','value','property2','value2') and changes the default plot to look nicer. ...

How to save/access an axes's properties using the handles structure?

I made a script which uses set(gca,'property','value','property2','value2') and changes the default plot to look nicer. ...

mer än 8 år ago | 0

| accepted

Answered

Superpose images at the same place of contours of regions

take the left image and do bw = bwlabel(left); then you can just take a look at the right image by segment, i.e. i...

Superpose images at the same place of contours of regions

take the left image and do bw = bwlabel(left); then you can just take a look at the right image by segment, i.e. i...

mer än 8 år ago | 0

Answered

Managing multiple figures in a GUI

just don't make the large on active and change stuff on it using its handle and set()

Managing multiple figures in a GUI

just don't make the large on active and change stuff on it using its handle and set()

mer än 8 år ago | 0

Answered

Several Line Appearing as on check in plot browser

mmm if you have a list of the points try making a single vector separated by Nan, which won't plot. x=[p1;p2;NaN;p3;p4...

Several Line Appearing as on check in plot browser

mmm if you have a list of the points try making a single vector separated by Nan, which won't plot. x=[p1;p2;NaN;p3;p4...

mer än 8 år ago | 0

Answered

Optimizing the 'drawnow' function for an oscillating circle

throw a pause(0.02) in the while loop after the drawnow

Optimizing the 'drawnow' function for an oscillating circle

throw a pause(0.02) in the while loop after the drawnow

mer än 8 år ago | 0

Answered

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],...

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],...

mer än 8 år ago | 0

Answered

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....

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....

mer än 8 år ago | 0

Answered

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...

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...

mer än 8 år ago | 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...

mer än 8 år ago | 3 answers | 0

Answered

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...

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...

mer än 8 år ago | 1

| accepted

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...

mer än 8 år ago | 1 answer | 0

Answered

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...

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...

mer än 8 år ago | 1

| accepted

Answered

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...

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...

mer än 8 år ago | 0

Answered

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 ...

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 ...

mer än 8 år ago | 0

Answered

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) ...

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) ...

mer än 8 år ago | 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 ...

mer än 8 år ago | 2 answers | 0

Answered

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

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

mer än 8 år ago | 0

Answered

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...

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...

mer än 8 år ago | 0

Answered

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...

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...

mer än 8 år ago | 0

Answered

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 ...

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 ...

mer än 8 år ago | 0

| accepted

Answered

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...

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...

mer än 8 år ago | 0

Answered

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...

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...

mer än 8 år ago | 0

Problem

Let's do Markov Chains!

<http://en.wikipedia.org/wiki/Markov_chain Markov Chains> are really useful in a lot of fields. This problem will ask a question...

nästan 9 år ago | 1 | 13 solvers

Problem

Make an awesome ramp for a tiny motorcycle stuntman

Okay, given a vector, say v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 3 6 9 11 0; 6 9 ...

nästan 9 år ago | 3 | 334 solvers

Solved

Find the two most distant points

Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

nästan 9 år ago

Solved

Make an awesome ramp for a tiny motorcycle stuntman

Okay, given a vector, say v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 3 6 9 11 0; 6 9 ...

nästan 9 år ago

Solved

N-Queens Checker

Picture a chessboard populated with a number of queens (i.e. pieces that can move like a queen in chess). The board is a matrix,...

nästan 9 år ago