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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 1

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 1

| akzeptiert

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

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

etwa 3 Jahre vor | 0

| akzeptiert

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

etwa 3 Jahre vor | 1

| akzeptiert

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

etwa 3 Jahre vor | 1

| akzeptiert

Mehr laden