回答済み
draw a line on an image
Perhaps your problem is that figure coordinates and array indices have different conventions. So, for example imshow(im) ...

14年以上 前 | 2

回答済み
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...

14年以上 前 | 6

回答済み
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 ...

14年以上 前 | 0

回答済み
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...

14年以上 前 | 0

回答済み
[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...

14年以上 前 | 13

質問


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

14年以上 前 | 5 件の回答 | 6

5

回答

回答済み
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...

14年以上 前 | 0

回答済み
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...

14年以上 前 | 0

| 採用済み

回答済み
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 ...

14年以上 前 | 2

| 採用済み

回答済み
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...

14年以上 前 | 0

回答済み
Convolution Mask
Something like this? sz = size(matrix); if isequal(sz, [3 3]) % first for loop, function call or whatever elseif...

14年以上 前 | 0

| 採用済み

送信済み


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

14年以上 前 | ダウンロード 1 件 |

0.0 / 5

回答済み
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 ...

14年以上 前 | 0

| 採用済み

回答済み
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...

14年以上 前 | 2

回答済み
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:...

14年以上 前 | 0

回答済み
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...

14年以上 前 | 3

| 採用済み

回答済み
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...

14年以上 前 | 0

回答済み
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...

14年以上 前 | 0

回答済み
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 ...

14年以上 前 | 3

回答済み
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...

14年以上 前 | 1

| 採用済み

回答済み
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, ...

14年以上 前 | 0

| 採用済み

回答済み
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-...

14年以上 前 | 0

回答済み
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 ...

14年以上 前 | 0

回答済み
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...

14年以上 前 | 0

回答済み
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 ...

14年以上 前 | 0

| 採用済み

回答済み
smoothing out a matrix
See my answer to <http://www.mathworks.com/matlabcentral/answers/15183-coding-for-implementing-gaussian-filter-in-iris-recogniti...

14年以上 前 | 0

回答済み
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...

14年以上 前 | 0

回答済み
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...

14年以上 前 | 0

回答済み
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...

14年以上 前 | 0

| 採用済み

回答済み
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...

14年以上 前 | 1

さらに読み込む