답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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 ...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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 ...

대략 3년 전 | 1

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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....

대략 3년 전 | 0

| 수락됨

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

| 수락됨

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

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

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

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 1

| 수락됨

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

답변 있음
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...

대략 3년 전 | 0

| 수락됨

답변 있음
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...

대략 3년 전 | 1

| 수락됨

답변 있음
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...

대략 3년 전 | 1

| 수락됨

더 보기