Respondida
Rotate bounding boxes w.r.t the object orientation to get the length and width of objects in an image
You don't need to rotate the bounding boxes. regionprops will find the red box. Rotating that square red box will not give y...

casi 3 años hace | 0

Respondida
Edge and corner detection using Hough Transform
The whole approach is wrong. You should just do shape detection. Just threshold find centroid find boundary coordinates fin...

casi 3 años hace | 2

Respondida
Problem with saving cropped DNG image to then run rgb -> xyz conversion
Your I2 is already the RGb image. You don't need raw2rgb.

casi 3 años hace | 1

| aceptada

Respondida
Thresholding operation on HSV Image
You can use the Color Thresholder app on the Apps tab of the tool ribbon to interactively threshold the color image by moving sl...

casi 3 años hace | 0

Respondida
How to remove frame appear as a result of thresholding
Avoid the white frame altogether by using imwrite to save the image, rather than saveas or print or whatever other function you'...

casi 3 años hace | 0

Respondida
How to find the true positive and true negative for detected pixels in the image
You can use dice to compare your segmented image to the ground truth segmentation image.

casi 3 años hace | 0

Respondida
How to Properly Normalize Noisy Image Frames in Dataset ?
What I'd try is to pick some small rectangle of the image that you think should not be affected by whatever is going on in the i...

casi 3 años hace | 0

| aceptada

Respondida
Image segmentation for spinal CT images.
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

casi 3 años hace | 0

Respondida
Can I name the variables in a table from a cell array or a struct?
Just to add to @Cris LaPierre answer, to process a bunch of files you can adapt code snippets in FAQ: https://matlab.fandom.com...

casi 3 años hace | 0

| aceptada

Respondida
To choose specific files from the folder
See the FAQ for code snippets you can adapt: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?

casi 3 años hace | 0

Respondida
can someone explain how i would compute this code
Your function qmul does not compute q1q2, or the rotation matrix Rq3, or print anything out to the command window. Fix those th...

casi 3 años hace | 0

Respondida
How do I remove the background (specifically the vignette) from this image without removing the particles of sand?
Your best bet is to take a separate, blank shot with no particles in the field of view and then divide your particle images by t...

casi 3 años hace | 2

| aceptada

Respondida
Ripples in the low levels of a Fourier transform of an Electric Field using fft MATLAB
I'm not an expert in antennas but I have a pretty good feel for this Fourier kind of thing from an optics perspective. How many...

casi 3 años hace | 0

Respondida
Bug in grader of MATLAB Onramp
Evidently it wanted you to use the vectorized way of creating the vector : vec = startingValue : incrementValue : finalValue W...

casi 3 años hace | 0

Respondida
How can I add new cells with NaNs to a matrix
Try this: rowVector = zeros(1, 154); % Original vector (whatever it is). indexes = 12:12:168; rowVector(indexes) = nan % If ...

casi 3 años hace | 1

Respondida
Close Borders of an Object
If you want to fill in any "bays" in the outer perimeter of your blob, then use bwconvhull mask = bwconvhull(mask, 'Objects'); ...

casi 3 años hace | 0

| aceptada

Respondida
How vectorize this loop
Sounds a lot like a homework assignment, but I'm going to assume it's not and give one possible solution: columns = 8; a = mag...

casi 3 años hace | 1

Respondida
Correlation in fluid mechanics?
Yes, you can make a model with the Regression Learner on the Apps tab of the tool ribbon if you have the Statistics and Machine ...

casi 3 años hace | 0

Respondida
Manipulation of the listdlg function
Make a professional interface, not some primitive one with things like listdlg. Use App Designer. See MATLAB App Designer

casi 3 años hace | 0

| aceptada

Respondida
Sort or place several points into the nearst point in an unknown a x b grid, and get each point's (i,j) index in the grid.
You might want to use pdist2 to get an array of distances from every point to every other point. Then take the histogram and lo...

casi 3 años hace | 0

| aceptada

Respondida
How to store all the results in a cell?
You didn't say what you expect, and the code is so wrong in so many ways that I can't figure out what you want. So I made this ...

casi 3 años hace | 0

| aceptada

Respondida
Concatenate multiple .csv files horizontally
Try it this way: input_path = pwd; %'/Users/annabellesorby-adams/TRIAL/01_Output_Files' ; results_path = pwd; %'/Users/annabel...

casi 3 años hace | 0

| aceptada

Respondida
how eliminate this line in editor?
Go to the Home tab. Click the Preferences button and expand the Editor/Debugger category. Look in Display for Placement, and...

casi 3 años hace | 0

| aceptada

Respondida
How to export clean and high resolution images for figures
There are several methods to save figures. Did you use the menu bar or pull down menu on the figure itself? I'm not sure what ...

casi 3 años hace | 0

| aceptada

Respondida
Output argument 'fy' is not assigned on some execution paths
If you're not going to assign the outputs in all scenarios, you can initialize the variables to null. Actually I do this by hab...

casi 3 años hace | 0

Respondida
TiledLayout or Montage for combining my images?
Doesn't imtile return an image? Just stitch those together, like bigImage = [tile1, tile2, tile3, tile4]; imshow(bigImage);

casi 3 años hace | 0

| aceptada

Respondida
Seeking Help with MATLAB Image Restoration
I doubt this will work clean_image = gray_image; clean_image(mask) = medfilt2(gray_image, [3 3]); % assume a 3x3 median filter...

casi 3 años hace | 0

Respondida
I want to convert a image into video ?
Why would you want to turn a single graph into a video? What's wrong with a single image? If you want to animate the graph and...

casi 3 años hace | 0

Respondida
please review matlab code and tell me why i receive errors
p and q are not functions. They are input arguments. What did you assign for them, and how did you call maxperf()? For exampl...

casi 3 años hace | 0

Respondida
Filling empty region with line segment
What assumptions can we make? Can we assume that during your processing we have an equal number of line blobs on the left hand ...

casi 3 años hace | 0

Cargar más