回答済み
Is there a way to make my picture RGB again? Trying to test hamming code
Well, here's one example. It might not be the most practical sort of thing, but it's probably fairly instructive. I imagine th...

2ヶ月 前 | 0

| 採用済み

回答済み
Is it possible to create a 3-D surface plot with black edges and color shading on the faces that corresponds to the data points, instead of solid color faces?
Simply do: sa.FaceColor = 'interp'; That will make the face color graduated, while leaving the edge lines black.

2ヶ月 前 | 0

回答済み
How to recify this error in daughman's rubber sheet model matlab code? : Error using * MTIMES (*) is not fully supported for integer classes.
Well, I have no idea how you're calling this function, but the parameters you're passing are integer-class, when they shouldn't ...

2ヶ月 前 | 0

| 採用済み

回答済み
how to overlay these two data sets in one image with two different colorbars?
I'm going to just put both colorbars on one side so that they don't get in the way of axis labels. It's just easier. load('lol...

3ヶ月 前 | 0

| 採用済み

回答済み
What do I need to do when I get this message "Cannot display summaries of variables with more than 524288 elements." ?
What you do depends on what the array is and what exactly you're trying to look at. The browser doesn't support display of larg...

3ヶ月 前 | 0

回答済み
error while using imfilter function in matlab
The name of the filter variable is "filter", not "filt". result{i} = imfilter(temp_img, filt, 'replicate', 'conv'); filt() i...

3ヶ月 前 | 0

回答済み
Why the error?
The error is (almost) entirely a consequence of the difference in the way you're handling the region boundaries. When the image...

3ヶ月 前 | 2

| 採用済み

回答済み
convert RGB to YIQ and HSV values without function rgb2ntsc and rgb2hsv ([30,80,30]) search with matlab coding
First off, you're asking for something you can't get. https://www.mathworks.com/matlabcentral/answers/38787-what-can-be-program...

3ヶ月 前 | 0

回答済み
Unable to perform assignment because the size of the left side is 588-by-3603 and the size of the right side is 588-by-719-by-3 error
The actual solution is probably to delete AreaUnderCurve() and actually pay attention to what you're doing with your data. Wh...

3ヶ月 前 | 1

回答済み
mapping image using pixel values
This question is one in a long set of unclear questions which together likely form an XY problem. This is a rough summary of a ...

3ヶ月 前 | 0

回答済み
Matlab code of shape
So the inputs are: the chord length L (they're all equal) one of the interior angle pairs I choose to assume that the given a...

3ヶ月 前 | 0

回答済み
How can I deform an image to fit a shape, but keep the same pixel values?
For the moment I'm going to assume that the input and output polygons have the same number of vertices or can be made to have th...

3ヶ月 前 | 0

回答済み
Is there any way to convert an image from RGB to CIELUV colorspace? Or read an image in CIELUV colorspace? For details about CIELUV colorspace refer : https://en.wikipedia.org/wiki/CIELUV
There are tools on the File Exchange which can do both transformations. Pascal Getreuer's colorspace() offers conversions in ...

3ヶ月 前 | 0

回答済み
assigning values in color bar
Why not just scale it appropriately instead of trying to fake it? Don't need to use surf either. % you have a single-channel i...

3ヶ月 前 | 0

| 採用済み

回答済み
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. ...

3ヶ月 前 | 1

回答済み
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...

3ヶ月 前 | 0

| 採用済み

回答済み
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' ...

3ヶ月 前 | 0

| 採用済み

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

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

3ヶ月 前 | 0

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

3ヶ月 前 | 0

回答済み
convert 8bits image to 16bits
See im2uint16(), im2int16(), etc.

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

回答済み
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...

3ヶ月 前 | 0

さらに読み込む