Réponse apportée
draw a line on an image
Perhaps your problem is that figure coordinates and array indices have different conventions. So, for example imshow(im) ...

plus de 14 ans il y a | 2

Réponse apportée
Overriding subsref and subsasgn - effect on private properties
I have, rather belatedly, found an official answer to my question, <http://www.mathworks.co.uk/support/solutions/en/data/1-9N85P...

plus de 14 ans il y a | 6

Réponse apportée
determinant of singular matrix is non-zero
I get the same result as you, Marco, in version 2011a. The doc page for the det function says that the calculation is now done ...

plus de 14 ans il y a | 0

Réponse apportée
what is step response and step()?
See <http://www.mathworks.co.uk/help/toolbox/control/ref/step.html> How does the step function relate to 2D to 3D image conve...

plus de 14 ans il y a | 0

Réponse apportée
[DEPRECATED] What frustrates you about MATLAB?
Overriding subsref and subsasgn in a class is spectacularly awkward. The problem is this. Suppose you override subsref in orde...

plus de 14 ans il y a | 13

Question


Overriding subsref and subsasgn - effect on private properties
I'm overriding subsref and subsasgn for a class. I want to influence the behaviour of obj(...), but I can't find a good way to d...

plus de 14 ans il y a | 5 réponses | 6

5

réponses

Réponse apportée
hexadecimal codes for sine and cosine wave
After making the plot, you can convert the tick labels to the hex representation of the IEEE bit patterns of the numbers with th...

plus de 14 ans il y a | 0

Réponse apportée
using gabor filter
I would guess that you need to convolve the image with each of the wavelets in turn. For this you can use conv2 or <http://www.m...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
How to calculate a gradient by fft ???
It's still not clear what you mean by 'simple "gradient"' - that could refer to a variety of things. One possibility is that ...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
Angle between two vectors in 3d
acos(dot(v1, v2) / (norm(v1) * norm(v2))) *EDIT*: Having seen Jan Simon's reply, and the long thread at CSSM that he refers t...

plus de 14 ans il y a | 0

Réponse apportée
Convolution Mask
Something like this? sz = size(matrix); if isequal(sz, [3 3]) % first for loop, function call or whatever elseif...

plus de 14 ans il y a | 0

| A accepté

A soumis


Logarithm of complex sine and cosine avoiding overflow
Functions to compute log(sin(Z)) and log(cos(Z)) avoiding overflow for large abs(imag(Z)).

plus de 14 ans il y a | 1 téléchargement |

0.0 / 5

Réponse apportée
Find index in matrix
Assuming it's a numerical matrix, called M: d = 100104; t = 1012; row = find(M(:,1) == d & M(:,2) == t) If it's a ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Image Processing: Find Edge with Highest Contrast
I think there are two main issues here. The first is how to distinguish between "texture" and "the boundary of an object". There...

plus de 14 ans il y a | 2

Réponse apportée
pointing to an element in a returned function
The basic answer is "no" - you need the intermediate variable. There is some discussion of this issue on the newsgroup <http:...

plus de 14 ans il y a | 0

Réponse apportée
correlation for multi-dimensional arrays
If you don't have NaNs in the data, and you want the standard Pearson coefficient, then you could try applying the formula for c...

plus de 14 ans il y a | 3

| A accepté

Réponse apportée
What is the kernel of linear motion blur in fspecial function??
In release 2011a the documentation is precise. Maybe you have an old release that was not so well documented? In case that's the...

plus de 14 ans il y a | 0

Réponse apportée
Hough Transform - Detecting angled lines
I'm not sure how are you setting the theta resolution, but hough and houghpeaks use degrees, and if your theta resolution is 0.0...

plus de 14 ans il y a | 0

Réponse apportée
How to match and two matrix elements and place it under one matrix...let me explain
nrows = size(B,1); C = zeros(nrows, length(A)); ind = bsxfun(@plus, (1:nrows)', (B-1)*nrows); C(ind(:)) = B(:); C ...

plus de 14 ans il y a | 3

Réponse apportée
Object Oriented Programming Performance Comparison: Handle Class vs. Value Class vs. no OOP
There is no way to change an object of a value class on method call, other than to return the updated object as a result, and as...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Controlling detected objects inside an image
Do you mean something like this: % Test array containing a square and a triangel image0 = zeros(10, 10); image0(2:4, ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
how to find the intensity of an image
Please see my reply to <http://www.mathworks.co.uk/matlabcentral/answers/15277-doubt-on-how-to-divide-by-using-the-intensity-of-...

plus de 14 ans il y a | 0

Réponse apportée
Problem assigning multiple values simultaneously to a matrix
You can use a loop, like this % data flag=zeros([10 10]); flag(5,5)=1; flag(5,9)=1;%Initialize Flag with 2 1's ...

plus de 14 ans il y a | 0

Réponse apportée
doubt on how to divide by using the intensity of an image
You could try using rgb2gray on the initial image. Looking at your code, this would be: I = rgb2gray(maskedRgbImage); th...

plus de 14 ans il y a | 0

Réponse apportée
fourier transform
To compute the discrete Fourier transform of a grayscale image, just use fft2. To find the DFT of a colour image, please see ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
smoothing out a matrix
See my answer to <http://www.mathworks.com/matlabcentral/answers/15183-coding-for-implementing-gaussian-filter-in-iris-recogniti...

plus de 14 ans il y a | 0

Réponse apportée
coding for implementing gaussian filter in iris recognition system
Provided you have the Image Processing Toolbox, code for Gaussian filtering of an image looks like this: sigma = 2; % set s...

plus de 14 ans il y a | 0

Réponse apportée
Detecting a feature in a Medical Image
Try thresholding. binary_image = original_image > threshold; You choose the value of threshold to be less than the value...

plus de 14 ans il y a | 0

Réponse apportée
Regarding imwrite()
If you want to read the data back into MATLAB without any loss of accuracy, then use load and save rather than imwrite and imrea...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Additive effects of a 2D Gaussian filter
Suppose you apply a Gaussian filter with width parameter SIGMA1 to an image, and then you apply a second Gaussian filter with pa...

plus de 14 ans il y a | 1

Charger plus