Question


Warning using bwareafilt: "Some objects were not selected"
Hi, I'm using the function bwareafilt to select the twelve largest objects on a binary image. Sometimes, this warning occurs:...

7 years ago | 1 answer | 0

1

answer

Question


Compatibility of Halcon Wrapper and OpenCV Interface
Hi, I'm interested in using the Halcon Wrapper: https://it.mathworks.com/matlabcentral/fileexchange/46524-mvtec-halcon-wra...

7 years ago | 1 answer | 0

1

answer

Question


How to perform xcorr2 only in one direction?
Hi, I'm working on two images having the same dimensions. They don't require to be aligned vertically, but only horizontally....

7 years ago | 1 answer | 0

1

answer

Question


In images aligning, how to exclude some areas from xcorr2 execution?
Hi, I'm trying to align two images using the procedure described into the "Align Two Images Using Cross-Correlation" example,...

7 years ago | 0 answers | 0

0

answers

Question


How to add an array in a structure as a new field?
Hi, I'm using the following code to get a structure variable _stats_, that will have 23 + 1 = 24 fields. stats = regionp...

7 years ago | 1 answer | 0

1

answer

Question


How can I find the Sensitivity Factor of the Harris Corner Detector?
Hi, I'm using the _detectHarrisFeatures_ function. To learn about it, I've found this page: http://it.mathworks.com/help/v...

8 years ago | 1 answer | 0

1

answer

Question


How to visualize MajorAxisLength and MinorAxisLength on images?
Hi, I would like to replicate something similar to that shown in the explanation of "Orientation" property of the "regionprop...

8 years ago | 1 answer | 0

1

answer

Answered
How do I merge multiple bounding boxes that overlap into one bigger bounding box?
Hi, this example proposes a method to merge boxes, using "accumarray": http://it.mathworks.com/help/vision/examples/automa...

8 years ago | 1

Answered
use bwconncomp for large sparse matrices
Hi, I think the example in the documentation may be what you are looking for. Please, find the "Calculate Centroids of 3-D Ob...

8 years ago | 0

Answered
Qn regarding Matlab Montage
Hi, yes, it is possible. This is just a basic example: mont(:,1:500) = I1; mont(:,550:1049) = I2; mont(550:1049,1:500...

8 years ago | 1

| accepted

Answered
3D animation of imported data
Hi, I'm not able to answer your question, I'm writing just for a suggestion. I never used the "drawnow" function, but I know ...

8 years ago | 0

Question


How to apply a different b/w threshold to each row of the image?
Hi, I would convert an image from grayscale to black-and-white using the im2bw function, and I need to apply a different thre...

8 years ago | 2 answers | 0

2

answers

Answered
How do I create a minimum bounding box from locations in cornerPoints object?
Hi, I think this code should be ok for you: x_coordinates = strong.Location(:,1); y_coordinates = strong.Location(:,2);...

8 years ago | 0

Answered
How to create a Matrice from a structure
Hi, if "meanValues" is a single value and you return a 2d matrix from it, I think that if "values" is an array you should ret...

8 years ago | 1

Answered
while converting a gray scale image to tif file for edge detection ;it is showing that the dimension of tif file has changed .how can i make a tif file to 2d image
Hi, try with "rgb2gray": http://it.mathworks.com/help/matlab/ref/rgb2gray.html Example for your case: colormap(gray...

8 years ago | 0

Answered
how can I smooth a bw image?
Hi, I don't know an exact way, so I just propose two ideas: 1) use "imdilate" with a high value for the parameter, this ma...

8 years ago | 0

Answered
how can I rotate the image ?
Hi, I'm not sure but I think that the "view" function could help you: http://it.mathworks.com/help/matlab/ref/view.html ...

8 years ago | 0

Answered
Plot rectangle boxes on image using MATLAB
Hi, what if you substitute the line: figure, imshow(J); with these lines? if i == 1 figure, imshow(J); end ...

8 years ago | 0

| accepted

Question


How to calculate the correlation coefficient between an array and a matrix?
Hi, I have a matrix A and a matrix B, with the same number of rows and a different number of columns. I need to calculate the...

8 years ago | 1 answer | 0

1

answer

Answered
How do u change the intensity ratio of the object in the gray scale image?
Hi, if all pixels outside the central region are zeros, I think you can solve this issue enlarging the entire image using the...

8 years ago | 1

Answered
How to return the index of a cell array?
Hi, is this example good for you? X{1} = 1; X{2} = [2 2 2 2]; X{3} = [3 4 5 6 7]; random_index = randi(length(X))...

8 years ago | 1

| accepted

Answered
calculer le barycentre d'une région avec plusieurs pixel de valeur différente
Bonjour, excuse-moi pour mon francais, mais ils sont beaucoup d'ans que je ne parle cette langue. Je pense que la fonction...

8 years ago | 1

Question


How to stop the "java.lang.OutOfMemoryError: Java heap space" error?
Hi, I'm dealing with very big images, and sometimes I use to drag&drop an image into the Workspace to load it as a variable. ...

8 years ago | 0 answers | 0

0

answers

Answered
how to open an image file using Matlab GUI
Hi. If I well understand your question, I think using the "imread" and then the "imshow" functions could be helpful for you: ...

8 years ago | 1

| accepted