Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

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

3 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 1

| accepted

Load more