Frage


Is there any means of searching for content within MATLAB Onramp?
I see lots of threads full of incomplete random copypasted chunks of text from Onramp. I'm content to assume this is just anoth...

fast 3 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
How to match the colors in the colorbars across two plots such that the datapoints can be inferred consistently?
This depends whether you can rely on the range of the second dataset being smaller than (and within) the range of the second dat...

fast 3 Jahre vor | 0

Beantwortet
drying to scale down image by factor of 2 using loops
I'm going to generalize a little bit. Scaling factor can be set as an internal parameter. The code supports any number of imag...

fast 3 Jahre vor | 0

Beantwortet
How to add color to a grayscale image based on a colormap from a color photo?
Well, it's Sunday night. The forum is sleeping and I'm bored. I might as well pretend that this thread needs another answer. ...

fast 3 Jahre vor | 0

Beantwortet
colour variation (transparency) on the overlapping bars of 2 bar charts
The transparency has no effect because there's nothing behind it. You're stacking the bars end-to-end, not on top of each other...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Getting inexistent files using dir function
Those are hidden files. It's unknown why they're hidden. Perhaps they are temporary or autosave files that exist because the f...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
How can I divide a whole circle into two sectors at an angle?
If you're dealing with an image that's not necessarily binarized (as in the given example), there are some considerations. If w...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
Getting the Wrong Output While Using Image Batch Processor
If the array called image is a matrix, the output from this operation will be a vector. black_pixels = sum(image == 0); While ...

fast 3 Jahre vor | 0

Beantwortet
how to apply sauvola threshold in subtracting
No thresholding has been applied to that image. It's had a slight gamma adjustment and then it's been inverted. A = imread('...

fast 3 Jahre vor | 0

Beantwortet
Edge Detection in a 2D Matrix
Consider the example: % a logical image mask = imread('tinyblobs.png'); imshow(mask) % generate the perimeter image paddedm...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Calculate power of each area
I'm just going to throw this out there. % this image has points marked manually inpict = imread('bbbbbb.png'); % data ran...

fast 3 Jahre vor | 0

Beantwortet
Elliptical crop of an image to get average pixel value within the region
If you're manually placing things, you can use the ROI tools such as drawellipse() and drawcircle() to create a mask. % an exam...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to I convert a binary (logical) image back into double, uint8, etc, without changing what the image looks like in binary?
If you want to change the numeric class of an image while retaining the image scale with respect to black/white, you normally us...

fast 3 Jahre vor | 1

| akzeptiert

Beantwortet
How to save rescale image ?
The only normal image format that's supported by MATLAB for writing float data is TIFF. https://www.mathworks.com/matlabcentr...

fast 3 Jahre vor | 2

| akzeptiert

Beantwortet
How do I replace the axes in an image?
You can specify the x and y extents of the image object. xdata = 10:20; ydata = 0:0.1:0.5; inpict = imread('cameraman.tif'); ...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Error when using cd- saying file is nonexistent
You're trying to cd relative to the current directory, instead of relative to ~/

fast 3 Jahre vor | 0

Beantwortet
How can I remove top and right axes and remain only bottom and left axes?
Try box off

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
how to open .nhdr file
It's just text, but there's already tools to read these files specifically, either with or without the associated data file. ht...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
How can I obtain all possible combinations of 3 decimals whose sum equals 1, without running into memory and space issues?
Are the particular vectors even important here? Or are you trying to find the combinations of four decimal numbers between 0.00...

fast 3 Jahre vor | 0

Beantwortet
what does count pixel =0 indicates?
I don't know what app this is, and I don't know what the image is or how it has been processed, so I'm going to have to assume s...

fast 3 Jahre vor | 0

Beantwortet
¿Is it posible to save a .bmp image with resolution (dpi)?
See the following set of references: https://www.mathworks.com/matlabcentral/answers/446658-how-to-write-metadata-information-t...

fast 3 Jahre vor | 0

Beantwortet
how to set the dpi while using 'imwrite' to save a matrix into an image of 'jpg' format?
You use external tools. If you have exiftool, use that. % take a clean image inpict = imread('peppers.png'); % write it to...

fast 3 Jahre vor | 1

Beantwortet
How to plot together a surface plot and a DICOM image without loosing the colors of the surface plot?
Convert the image to standard data ranges using mat2gray(), then expand it so that it's RGB. The objective here is to create a ...

fast 3 Jahre vor | 0

| akzeptiert

Gesendet


A slightly more robust version of when()
A slightly more robust version of when()

fast 3 Jahre vor | 1 Download |

5.0 / 5
Thumbnail

Beantwortet
FEX submission not updating to new release on GitHub
After three days, I ended up just editing the FEX page and selecting "Change Repository" and setting it to the same repository a...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
View a YUYV encoded image in MATLAB
Here's my guess, assuming that everything is as simple as it appears. There's a good chance this isn't exactly right. If the...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
How to validate contrast adjusting using imadjust comparing to other contrast adjusting techniques and original image?
The question and comments are vague, but this is my answer to one interpretation -- i.e. to use a graph to illustrate the transf...

fast 3 Jahre vor | 0

Beantwortet
Contrast equalization with imadjust
The first four illustrated transformations are very simple -- they're simple addition and multiplication. % a unit-scale test...

fast 3 Jahre vor | 0

Frage


FEX submission not updating to new release on GitHub
https://www.mathworks.com/matlabcentral/fileexchange/97272-a-slightly-more-robust-version-of-when https://github.com/291ce4321a...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
generation of 2D array of circular ring
In this case, I'm going to do an antialiased image instead of a binary image. sz = [300 400]; % image size [y x] c = [150 20...

fast 3 Jahre vor | 0

| akzeptiert

Mehr laden