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

9 månader ago | 0

| accepted

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

9 månader ago | 0

| accepted

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

9 månader ago | 0

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

9 månader ago | 0

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

10 månader ago | 0

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

10 månader ago | 1

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

10 månader ago | 0

| accepted

Submitted


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

10 månader ago | 2 downloads |

Thumbnail

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

10 månader ago | 0

| accepted

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

10 månader ago | 0

| accepted

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

10 månader ago | 0

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

10 månader ago | 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...

10 månader ago | 1 answer | 0

1

answer

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

10 månader ago | 0

| accepted

Answered
what is the most effective way of using laplacian filter
FWIW, you can change the shape parameter for the laplacian kernel. Default is 0.2. Why is that the default? I don't know. fk =...

10 månader ago | 0

Answered
Attempt to grow array along ambiguous dimension.
My guess is that either binaryFrame has 3 channels, or handGesture only has 1 channel. Either way, the expanded mask is deeper ...

10 månader ago | 0

Answered
What's on your personal MATLAB to-do list?
It's not exactly a grand project, but ... A set of tools for drawing 2D lines/shapes in a raster image (independent of IPT/CVT)...

10 månader ago | 0

Answered
How to match colorbar and countourf plot manually?
Set your caxis()/clim() values. Set your colormap length according to the number of discrete levels you actually have. x = 1...

10 månader ago | 0

| accepted

Answered
How to get luminance and chrominance value from image?
You want "luminance". Let's assume we have an sRGB image. Luma (Y') would be factors = permute([0.2126 0.7152 0.0722],[1 3 2...

10 månader ago | 0

Answered
Unable to save the autoplot image in the for loop
clc clear close all pathprefix = 'C:\Users\MASHHADSERVICE\OneDrive\Desktop\armina\data\'; numfiles = 1; C = cell(numfi...

10 månader ago | 0

Answered
Why doesn't matlab have more plot colors?
I don't really care for it either,, but I should emphasize that it's not like there's some singular standard convention for colo...

10 månader ago | 0

Answered
Hi, can you help me fix my code? How can I convert this to a matrix using if/while/for statements?
Consider the example: % some data in a column vector MERfff = (21:31).'; % rearrange it [xx yy] = meshgrid(MERfff); MERfg...

10 månader ago | 0

Answered
Exporting only the plot legend to a jpg file
I don't have exportgraphics(), so I'm not going to bother with that. Consider the example: % plot some fake data yy = rand(20...

10 månader ago | 0

Answered
I am embedding pdf into an Image. But after extraction i am getting blank page pdf. How to extract the correct pdf file whatever i have inserted?
fileread() is really just a convenience wrapper for fread() meant for reading text files. Up until R2020-something, it didn't e...

10 månader ago | 0

Answered
Error: Edge function: variable might be used before it is defined
I'm pretty sure the reason that's happening is because later on in the same scope, you're shadowing the function by creating a v...

10 månader ago | 1

| accepted

Answered
How to count number of only those zeros which are lying between 2 one's in a very simplified way in the given matrix?
This uses image processing tools. This is probably more expensive, but it's another idea. a = [0, 0, 0, 0, 1, 1, 1, 1, 0, 0 ,0...

10 månader ago | 0

Answered
Need help to overlay transparent red on gray scale images (or movie) using a binary mask
If you have IPT, you could use labeloverlay() % labeloverlay() supports multichannel images gray_image = imread('peppers.png')...

10 månader ago | 0

| accepted

Answered
How, in the same figure tile, to prevent a second contour plot from changing the colormap of the first contour plot?
Contour plots are colored based on the current axes colormap and the mapping limits set by clim()/caxis(). An axes object only ...

10 månader ago | 1

| accepted

Answered
Change opacity of basemap using mapping toolbox?
I bet there's some better way to do this, but I didn't see one. Take that with a grain of salt. I never really use mapping too...

10 månader ago | 0

| accepted

Answered
mean of all these variables over latitude x longitude x time that is (5 x 5 x 2)
If your data is a bunch of individual numeric arrays: % some fake data x1 = rand(5,5,2,65); x2 = rand(5,5,2,65); x3 = rand(...

10 månader ago | 0

Load more