Question


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

plus de 2 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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. ...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
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('...

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
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'); ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Error when using cd- saying file is nonexistent
You're trying to cd relative to the current directory, instead of relative to ~/

plus de 2 ans il y a | 0

Réponse apportée
How can I remove top and right axes and remain only bottom and left axes?
Try box off

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
¿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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

Réponse apportée
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 ...

plus de 2 ans il y a | 0

| A accepté

A soumis


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

plus de 2 ans il y a | 2 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Charger plus