Réponse apportée
Checking if two handle objects are identical using 'isequal' and '=='
I don't know if there's a generalized canonical way to compare the similarity of graphics objects, but they're going to differ. ...

environ 2 ans il y a | 1

Réponse apportée
Issue with imresize, resizeParseInputs
See the comments. It ran without errors, but I don't know if the output is right or if I'm using it correctly. %blend the lapl...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
Brace indexing into the result of a function call is not supported
Hm. I'm going to guess on this one. function blendedPyramid = blendLaplacianPyramids(pyramids) % the variable is 'pyramids' ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
How do I change a black and white grating to red and green?
I'm going to do this with MIMT tools because I'm lazy, and that's why convenient tools exist. Assume we have a single-channel g...

environ 2 ans il y a | 0

Réponse apportée
Vertical lines artifacts while using ShapeInserter of Vision toolbox ?
See also: https://www.mathworks.com/matlabcentral/answers/411443-problem-with-insertshape It's probably an earlier version th...

environ 2 ans il y a | 0

Réponse apportée
how to delete value of hsv and convert hsv to gray?
This is a nonsense question. In one sentence, your goal is to preserve color information only and delete brightness information...

environ 2 ans il y a | 0

Réponse apportée
I have a binary mask, with let's say 40 images (Mask(:,:,40) and I want to calculate centroids per image.
You aren't using the loop index for anything, so nothing changes. You don't appear to be preallocating anything. Your entire s...

environ 2 ans il y a | 0

Réponse apportée
imfill an specific hole
% a logical image with holes mask = imread('blobs.png'); imshow(mask,'border','tight') % select a particular hole and get a m...

environ 2 ans il y a | 0

Réponse apportée
Image processing Image conversion
Okay, so the output is a 24b RGB image. We can assume this means an 8,8,8,0,0 arrangement; that's pretty common. So the goal s...

environ 2 ans il y a | 0

Réponse apportée
Imrotate help - black pixel border remains despite changing the colour of the background?
This answer covers mulptile approaches to controlling the padding color, and the halo left by simple workarounds is addressed wi...

environ 2 ans il y a | 0

Réponse apportée
Image rotate
See this thread for multiple different solutions: https://www.mathworks.com/matlabcentral/answers/499506-how-to-change-backgrou...

environ 2 ans il y a | 0

Réponse apportée
Image processing Image rotation
IPT imrotate() has supported interpolation since at least R2009b. % an image % inverted so that the edges have contrast again...

environ 2 ans il y a | 0

Réponse apportée
convert 8bits image to 16bits
See im2uint16(), im2int16(), etc.

environ 2 ans il y a | 0

Réponse apportée
convert 16 bit image to 8 bit image
I don't know why nobody brought it up in 10+ years, but: outpict = im2uint8(inpict); % recast with appropriate scaling This wi...

environ 2 ans il y a | 0

Réponse apportée
how to scan an grayscale image to detect the gray-level value of grayscale image using matlab?
Oh that's easy. Consider the following image. A = imread('cameraman.tif'); Now you're done. Seriously though. This is a...

environ 2 ans il y a | 0

Réponse apportée
How to convert specific pixel value to pseudocolor?
IPT imoverlay is convenient here, and it will work fine for either I/RGB inputs. While imoverlay() wasn't available at the time...

environ 2 ans il y a | 0

Discussion


Is it just me, or is the most recent poll now broken?
I noticed a couple new replies show up on the recent poll a day or so ago, but since then, the page can't be loaded anymore in a...

environ 2 ans il y a | 0

Question


Is it just me, or is the most recent poll now broken?
I noticed a couple new replies show up on the recent poll a day or so ago, but since then, the page can't be loaded anymore in a...

environ 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Symmetric (Diverging) log color scale
Here's a shoddy example, but at least it does what's described. % let A be your data % note that the data is asymmetric and ...

environ 2 ans il y a | 1

Réponse apportée
Display a bit plane
The given code more or less does what's requested, though it's not generalized. I'm just going to throw this out there. I'm ...

environ 2 ans il y a | 0

Réponse apportée
how to add rician noise in image?
MIMT imnoiseFB() is largely a replacement for IPT imnoise(), though it offers a few new options not offered in the original. On...

environ 2 ans il y a | 0

Réponse apportée
how to convert a grayscale image to rgb image
This answer covers multiple ways, depending on what your expected results are: https://www.mathworks.com/matlabcentral/answers/...

environ 2 ans il y a | 0

Réponse apportée
Why I recive such an answer:"Incorrect number or types of inputs or outputs for function range."
x = [1 -1.65 2.2 -3.1]; y = range(x) The code you posted should work fine. You probably have something shadowing the intended...

environ 2 ans il y a | 1

| A accepté

Réponse apportée
what is the map in this example?
Ah. This is one of the hazards of using load() like this. When you run the line load mri ... you're loading the contents o...

environ 2 ans il y a | 0

Réponse apportée
Image Processing Challenge using edge detection
Well, given that the two images are vastly different, I have no idea where this is going, or what criteria should be used for se...

environ 2 ans il y a | 0

Réponse apportée
Backgroud Added to images after imwrap transformations
Your image has alpha, but you're not using it. % you need to read the whole image [I,~,alpha] = imread('https://www.mathworks....

environ 2 ans il y a | 1

| A accepté

Réponse apportée
Image Processing Challenge using edge detection
Without knowing the answers to the clarifications, this is one idea. I recovered a crude image from the damaged screenshot. ...

environ 2 ans il y a | 0

Réponse apportée
cant detect valid coins and segement them fully, have a deadline in 4 days
Hm. Std alone seems a bit marginal given that some of the valid coins are quite overexposed and some of the painted coins have ...

environ 2 ans il y a | 0

| A accepté

Réponse apportée
i want to export 3d stl format image into matlab and want to see in matlab
I've used STL Tools from the FEX before. % needed to zip attachments for the forum unzip things.zip % read the file fnam...

environ 2 ans il y a | 1

Réponse apportée
How do I get help on homework questions on MATLAB Answers?
In the hopes that this stays at the bottom of the thread. (i.e. pls no upvote) Don't paste your unembellished homework as an a...

environ 2 ans il y a | 0

Charger plus