photo

DGM


Last seen: 1 día hace Con actividad desde 2015

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.

Estadística

All
  • 36 Month Streak
  • Thankful Level 5
  • Solver
  • Personal Best Downloads Level 4
  • GitHub Submissions Level 3
  • Editor's pick for Answers
  • Most Accepted 2022
  • Ace
  • Most Accepted 2021
  • 5-Star Galaxy Level 4
  • Revival Level 3
  • Knowledgeable Level 5

Ver insignias

Feeds

Respondida
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 días hace | 0

| aceptada

Respondida
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 días hace | 0

Respondida
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 días hace | 1

| aceptada

Respondida
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 días hace | 0

Respondida
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 días hace | 0

| aceptada

Respondida
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 días hace | 0

Respondida
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 días hace | 0

| aceptada

Respondida
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), '.',...

25 días hace | 0

| aceptada

Respondida
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://...

alrededor de 1 mes hace | 1

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

alrededor de 1 mes hace | 1

| aceptada

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

alrededor de 1 mes hace | 1

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

Respondida
Getting " Yet Another Color Gamut Visualizer" App Working
That FEX submission uses setstructfields() from the Signal Processing Toolbox. which setstructfields() -all For most practic...

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 1 mes hace | 0

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

alrededor de 2 meses hace | 0

| aceptada

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

| aceptada

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

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

alrededor de 2 meses hace | 0

| aceptada

Respondida
Converting a color image into a set of data
I've posted a number of demos on estimating data from a pseducolor image, including thermal images. You need a clean pseudocolo...

alrededor de 2 meses hace | 0

| aceptada

Respondida
uiimage introduces artifacts? How to fix?
Interesting that this had already been reported before I reported it as a bug. The reason for these artifacts is simple. When...

2 meses hace | 2

Respondida
Making an X ray image out of x, y, z coordinates ERROR
The data probably isn't being picked up by textscan() because of the way the delimiter is being specified. If there aren't othe...

2 meses hace | 0

Respondida
How to transfer color and texture of an image to another image?
There are no MATLAB tools that will do good blind transfer of color themes, let alone textures. There are examples of technical...

2 meses hace | 0

| aceptada

Cargar más