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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

| accettato

Risposto
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' ...

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

Risposto
convert 8bits image to 16bits
See im2uint16(), im2int16(), etc.

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 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...

oltre 2 anni fa | 0

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

Risposto
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/...

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 1

| accettato

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

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

| accettato

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

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

Carica altro