![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6733114.png)
DGM
Followers: 7 Following: 0
Hi, I'm nobody. I don't belong here, but I have nothing better to do. Matlab used to be part of my work. Now it's part of my hobbies. That's pretty sad, really.
Feeds
답변 있음
create mask (line) based on conditional (mask)
You could do it using ROI objects, but that would be terribly slow and prone to other problems. Here's an example: % dummy inp...
create mask (line) based on conditional (mask)
You could do it using ROI objects, but that would be terribly slow and prone to other problems. Here's an example: % dummy inp...
5일 전 | 0
| 수락됨
답변 있음
Creating a symmetric tile mosaic
I'm not really sure what the question was. "the color pattern but not the shape" really doesn't make much sense, since shapes i...
Creating a symmetric tile mosaic
I'm not really sure what the question was. "the color pattern but not the shape" really doesn't make much sense, since shapes i...
6일 전 | 0
답변 있음
How to plot one curve and change color according to value
Also: % inputs thresh = 25; x = linspace(0,10,100); y = sin(3*x).*exp(0.5*x); % m is equivalent to (y>thresh), so it's en...
How to plot one curve and change color according to value
Also: % inputs thresh = 25; x = linspace(0,10,100); y = sin(3*x).*exp(0.5*x); % m is equivalent to (y>thresh), so it's en...
7일 전 | 1
| 수락됨
답변 있음
How to export images to a single pdf file
Saving images by taking screenshots will not ensure that the original resolution is preserved. I can only imagine that preservi...
How to export images to a single pdf file
Saving images by taking screenshots will not ensure that the original resolution is preserved. I can only imagine that preservi...
15일 전 | 0
답변 있음
copping grayscale image and remove any other borders or details
This example relies on the images being clean TIFF files of the expected size. It won't work on JPGs, and it won't work on the ...
copping grayscale image and remove any other borders or details
This example relies on the images being clean TIFF files of the expected size. It won't work on JPGs, and it won't work on the ...
23일 전 | 0
| 수락됨
답변 있음
Display/highlight specific pixels of in image
I can think of a few ways to create a composite grayscale + color labeled image, but it's not really clear to me what the actual...
Display/highlight specific pixels of in image
I can think of a few ways to create a composite grayscale + color labeled image, but it's not really clear to me what the actual...
23일 전 | 0
답변 있음
How to make a specific bar to be hatched with a specific color
Here's a start x = [1,2,3,4,5]; y1 = [0.25 1.14 2.20 0.21 1.09 2.16 ; 0.48 2.26 4.40 0.42 2.20 4.34; 0.72 3.38 6.58...
How to make a specific bar to be hatched with a specific color
Here's a start x = [1,2,3,4,5]; y1 = [0.25 1.14 2.20 0.21 1.09 2.16 ; 0.48 2.26 4.40 0.42 2.20 4.34; 0.72 3.38 6.58...
24일 전 | 0
| 수락됨
답변 있음
matlab work slowly when plot
There are a number of things, but the biggest problem is something easily missed: plot(r*ones(numtoplot), x(initidx:reps), '.',...
matlab work slowly when plot
There are a number of things, but the biggest problem is something easily missed: plot(r*ones(numtoplot), x(initidx:reps), '.',...
24일 전 | 0
| 수락됨
답변 있음
Minimizing MATLAB windows while running?
I don't know why that reference answer got deleted, but it's still archived: https://web.archive.org/web/20150517051637/http://...
Minimizing MATLAB windows while running?
I don't know why that reference answer got deleted, but it's still archived: https://web.archive.org/web/20150517051637/http://...
대략 1개월 전 | 1
답변 있음
How to change the color of shapefile in pcolor plot
If you're using geoshow(), then you should be able to set the relevant properties of the object being created (e.g. the 'color' ...
How to change the color of shapefile in pcolor plot
If you're using geoshow(), then you should be able to set the relevant properties of the object being created (e.g. the 'color' ...
대략 1개월 전 | 1
| 수락됨
답변 있음
How to calculate the percentage of each color in this image ?
I was bored and thought that the image itself was interesting. % decoding this image will produce a warning inpict = imread('i...
How to calculate the percentage of each color in this image ?
I was bored and thought that the image itself was interesting. % decoding this image will produce a warning inpict = imread('i...
대략 1개월 전 | 1
답변 있음
How can I isolate some objects from a image?
As per usual with these assignments, the images are either microscopic, or they're low-quality JPGs or both. Besides the practi...
How can I isolate some objects from a image?
As per usual with these assignments, the images are either microscopic, or they're low-quality JPGs or both. Besides the practi...
대략 1개월 전 | 0
답변 있음
Save an intensity image created with imagesc with true resolution
For maps of length 256 or 65536, the workaround using mat2gray()/ind2rgb() might be fine. There are things to consider. The qu...
Save an intensity image created with imagesc with true resolution
For maps of length 256 or 65536, the workaround using mat2gray()/ind2rgb() might be fine. There are things to consider. The qu...
대략 1개월 전 | 0
답변 있음
Getting " Yet Another Color Gamut Visualizer" App Working
That FEX submission uses setstructfields() from the Signal Processing Toolbox. which setstructfields() -all For most practic...
Getting " Yet Another Color Gamut Visualizer" App Working
That FEX submission uses setstructfields() from the Signal Processing Toolbox. which setstructfields() -all For most practic...
대략 1개월 전 | 0
답변 있음
Adjusting Y-Values in Histograms
The reason that the bar heights have discrete values is simply that the height represents an underlying integer count, and you h...
Adjusting Y-Values in Histograms
The reason that the bar heights have discrete values is simply that the height represents an underlying integer count, and you h...
대략 1개월 전 | 0
답변 있음
How to save an image without axis or white space?
First things first, unless you need to include other graphical objects (lines, markers, annotations) in the image, save images u...
How to save an image without axis or white space?
First things first, unless you need to include other graphical objects (lines, markers, annotations) in the image, save images u...
대략 1개월 전 | 0
답변 있음
Make a plot with gradient shaded confidence intervals
Look into how to configure patch() objects: https://www.mathworks.com/help/matlab/ref/matlab.graphics.primitive.patch-propertie...
Make a plot with gradient shaded confidence intervals
Look into how to configure patch() objects: https://www.mathworks.com/help/matlab/ref/matlab.graphics.primitive.patch-propertie...
대략 2개월 전 | 0
| 수락됨
답변 있음
How to read JPEG image in 12 bit or 16 bit format??
I've tested this in older versions, so it should have been fine in 2013. See https://www.mathworks.com/help/matlab/ref/imread....
How to read JPEG image in 12 bit or 16 bit format??
I've tested this in older versions, so it should have been fine in 2013. See https://www.mathworks.com/help/matlab/ref/imread....
대략 2개월 전 | 0
답변 있음
Convert an 8 bit image to 12 bit
MIMT imcast() does this sort of rescaling without needing to jump through hoops. % a properly-scaled image of any class inpic...
Convert an 8 bit image to 12 bit
MIMT imcast() does this sort of rescaling without needing to jump through hoops. % a properly-scaled image of any class inpic...
대략 2개월 전 | 0
답변 있음
How to read '.webp' image file
@Sven's workaround is still about the only thing there is. I just added a simple pair of tools to MIMT to read and write WEBP u...
How to read '.webp' image file
@Sven's workaround is still about the only thing there is. I just added a simple pair of tools to MIMT to read and write WEBP u...
대략 2개월 전 | 0
제출됨
Tools to read and write animated gif files
Tools from MIMT to read/write multiframe GIFs
대략 2개월 전 | 다운로드 수: 10 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/24df5720-4a7e-4fc2-a622-01101dd09161/f248c809-4783-481d-9c5e-61cf09533226/images/screenshot.gif)
답변 있음
histogram
I know it's over a decade late, but of the two lines of code given, neither make any sense. Maybe the ridiculousness explains w...
histogram
I know it's over a decade late, but of the two lines of code given, neither make any sense. Maybe the ridiculousness explains w...
대략 2개월 전 | 0
답변 있음
How to fix a limit between 2 combined colormaps?
Get out of the habit of generating colormaps without specified lengths. If you use implicit lengths, you can easily wind up wit...
How to fix a limit between 2 combined colormaps?
Get out of the habit of generating colormaps without specified lengths. If you use implicit lengths, you can easily wind up wit...
대략 2개월 전 | 0
| 수락됨
답변 있음
How to manually adjust contrast of Image and then Display (percent Contrast)
I'm not really sure from what context the term "percent contrast" was taken here. It seems like it's referring to the arbitrary...
How to manually adjust contrast of Image and then Display (percent Contrast)
I'm not really sure from what context the term "percent contrast" was taken here. It seems like it's referring to the arbitrary...
대략 2개월 전 | 0
답변 있음
how to scramble pixels of specific part of image
Consider the example: % an image inpict = imread('peppers.png'); % generate a mask using any appropriate method % see also...
how to scramble pixels of specific part of image
Consider the example: % an image inpict = imread('peppers.png'); % generate a mask using any appropriate method % see also...
대략 2개월 전 | 0
답변 있음
Index exceeds matrix dimensions. Error in gtc21 (line 21) outputBits = mod(sum(shiftedValues(generatorPolynomials)), 2);
Since you gave us no information, then the error message itself tells you everything that you could be told. In whatever file g...
Index exceeds matrix dimensions. Error in gtc21 (line 21) outputBits = mod(sum(shiftedValues(generatorPolynomials)), 2);
Since you gave us no information, then the error message itself tells you everything that you could be told. In whatever file g...
대략 2개월 전 | 0
답변 있음
how to open image .mhd
I don't know about the format, but here's a start. That should give you a volumetric image. Note that the data range is very n...
how to open image .mhd
I don't know about the format, but here's a start. That should give you a volumetric image. Note that the data range is very n...
대략 2개월 전 | 0
| 수락됨