Réponse apportée
why there are spurious edges in case of edge detection in HSI color space?
In nine years, nobody else came to any conclusion either, since OP never revealed the image, the code, or even the edge detectio...

presque 3 ans il y a | 0

Réponse apportée
How to correct the skewed perspective of an image
It's always a challenge trying to keep track of which MATLAB/IPT tools use image axes coordinates [x y], and which ones use arra...

presque 3 ans il y a | 0

Réponse apportée
Merging overlapping Bounding boxes in a loop
There are probably other ways to do this, but here's an example. Let's start with a binary image and plot its bounding boxes ...

presque 3 ans il y a | 0

Réponse apportée
mean, median, horisontal prewitt, vertical prewitt, horizontal sobel
Since we're only dealing with one window position, this is fairly simple -- but there's one catch. Let's start by just trying a...

presque 3 ans il y a | 0

Réponse apportée
Calculate mean, median, and mode of an ROI
Isolating one part of a mask might be part of the problem, but otherwise, it's hard to say what was going wrong without seeing t...

presque 3 ans il y a | 0

Réponse apportée
MATLAB Answers Wish-list #6 (and bug reports)
I have run across a handful of threads like this one lately. https://www.mathworks.com/matlabcentral/answers/33190-post-an-im...

presque 3 ans il y a | 0

Réponse apportée
MATLAB Answers Wish-list #6 (and bug reports)
Another user brought up the idea of being able to source files via URL when inserting images. This is something I thought I've ...

presque 3 ans il y a | 1

Réponse apportée
HSI Thresholding Mat lab code
Considering how everyone likes to call things what they aren't, I'm going to literally read every instance of "HSI" as "HSI" ins...

presque 3 ans il y a | 0

Réponse apportée
How can i find a medial axis without using bwmorph?
If you're trying to avoid bwmorph() specifically for some arbitrary reason, you can use bwskel(). On the other hand, if you'r...

presque 3 ans il y a | 0

Réponse apportée
Is there any correlation kernel that keeps the roi of an image while removes the remained pixels?
Can you specify a particular filter kernel such that roifilt2() will preserve the area selected by the mask and discard the regi...

presque 3 ans il y a | 0

Réponse apportée
How to select one point as the center of the plot
I see two answers, depending on the interpretation of the question. Perhaps you want to center a reference point in the axes....

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Remove White border from Image
I can't believe nobody noticed what's going on here. Saving images using figure capture will generally result in an image which...

presque 3 ans il y a | 0

Réponse apportée
I keep getting this matrix error when I run my code, any tips how I can fix it, its line 45.
The error says it all. You're indexing the LHS based on state == 1. You're generating the RHS based on the sum of state. Stat...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
Remove background from image
% read the image inpict = imread('https://www.mathworks.com/matlabcentral/answers/uploaded_files/217934/mx01.jpeg'); % you c...

presque 3 ans il y a | 0

Réponse apportée
How to remove scribble from an image
What are the images? What constitutes a scribble? Are the requirements specific, or is it necessary to find any scribble on an...

presque 3 ans il y a | 0

Réponse apportée
How to segment black pixels from a colour image?
If you want to clean up that image, start by deleting it and getting the original image before it was reduced to a microscopic J...

presque 3 ans il y a | 0

Réponse apportée
Filling ellipse fit with white, and making the rest of the image black
See the attached function conic2mask(). The only effective difference between conic2mask() and DrawConic() is the change of a s...

presque 3 ans il y a | 0

Réponse apportée
How to perform imopen on ROI without affecting other region
The thing you're doing isn't what you think you're doing. You're opening the elliptical mask itself, not the image. You're the...

presque 3 ans il y a | 0

Réponse apportée
What is the algorithm that runs matlabs bwmorph spur function?
See line 262 in $MLROOT/toolbox/images/images/+images/+internal/algbwmorph.m See $MLROOT/toolbox/images/images/+images/+interna...

presque 3 ans il y a | 0

Réponse apportée
Manual threshold_ What is wrong?
This is another case of creating improperly-scaled images. The incoming image img is uint8, and the output image imgT inherit...

presque 3 ans il y a | 0

Réponse apportée
How to read all types images from the folder regardless of file extension ?
If you just want to read everything into memory at once, then MIMT mimread() makes it simple. % read all the images in my gi...

presque 3 ans il y a | 0

Réponse apportée
Car Plate Perspective Transform
Here is one example of using imwarp() https://www.mathworks.com/matlabcentral/answers/456973-how-to-make-an-image-straightener-...

presque 3 ans il y a | 0

Réponse apportée
Referenced White Balance of an image
I really have no familiarity with canonical white balancing techniques, but I'll shoot. First, let's simplify things % Read in...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
How can I find each character's index within a matrix, from a vector of characters?
If you're talking strictly about character arrays, then: Letters = ['ABC'; 'DEF'; 'HIJ']; vec = 'ACHI'; [~, idx] = ismembe...

presque 3 ans il y a | 0

Réponse apportée
How to convert a "16 bit signed" image to "rgb" image?
None of that makes sense. % if the images were indexed, subtracting index arrays would destroy the image % the result would be...

presque 3 ans il y a | 0

Réponse apportée
How to center and add margin around image?
FWIW, this is how I'd do it with MIMT. % contrive two images of different scale, class, size, and depth BG = imread('peppers...

presque 3 ans il y a | 0

Réponse apportée
How to find the maximum temperature value from a thermal image
Here's a list of very similar examples. See the last example for finding the max region. It's up to you to decide whether yo...

presque 3 ans il y a | 0

Réponse apportée
Graphing an array so the largest row graphs first and then so forth
Maybe something like x = [1,10,15,NaN,NaN; 1,10,15,20,25; 1,10,15,20,NaN]; y = [0,0,1,NaN,NaN; 0,0,0,0,3; 0,0,0,2,NaN]; % g...

presque 3 ans il y a | 0

| A accepté

Réponse apportée
How to compare two matrix?
It's not exactly clear what the intended logic is, but this is a simple membership test A=[4 5; 4 19; 5 7; 4 5]; B=[4 5]; i...

presque 3 ans il y a | 1

| A accepté

Réponse apportée
Read older MATFILE in the current version.
FWIW, I was able to use Walter's first link to read the file. myfilename = 'test_read.mat'; fid = fopen(myfilename, 'r', 'ie...

presque 3 ans il y a | 1

| A accepté

Charger plus