Domanda


Generate an image containing a pattern of random shapes
I would like to generate an image like this containing random shapes where I specify the size range, color, and type of shape su...

circa 7 anni fa | 2 risposte | 0

2

risposte

Domanda


Avoid partial blocks in block processing with blockproc
If you block process an image using blockproc and the desired block size does not divide evenly into your image size, it seems t...

circa 7 anni fa | 1 risposta | 0

1

risposta

Risposto
Parameter sweep without nested for loop
Here is one solution using allcomb, but is there a better way? By "better" I mean "easy to understand what the code is doing, ye...

oltre 7 anni fa | 0

| accettato

Domanda


Parameter sweep without nested for loop
The following parameter sweep has many nested loops. How can I eliminate the nested loops with linear indices, but be able to ac...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


Is it possible to zoom in during Preview in Image Acquisition Tool?
I am using the Image Acquisition Tool to preview a camera image so that I can focus the camera. I would like to zoom in on the i...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


How to turn off drawrectangle?
I used drawrectangle to draw a rectangle on an image and adjust its size and position, but then I can't figure out how to turn o...

oltre 7 anni fa | 1 risposta | 1

1

risposta

Domanda


Colormap engineering to highlight small values
I would like to construct a colormap for a set of data where the values range from [0,100] but I want the values in the [0,20] r...

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


If I want to make a prediction from a neural net, do I have to use the same random number generator seed?
I have a question about the state of the random number generator when I make a prediction with a neural network. Let's say I loo...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Risposto
'apply' 'reverse' in mapminmax
<https://www.mathworks.com/help/deeplearning/ref/mapminmax.html mapminmax> is a scaling that is applied to your input data to ma...

oltre 7 anni fa | 0

Domanda


Where in documentation does it say that fitnet([]) gives a linear model?
I have seen Greg Heath's posts such as <https://www.mathworks.com/matlabcentral/answers/296663-my-neural-network-is-getting-trai...

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


Checking if minimum of a matrix occurs on the diagonal
For a matrix, I would like to check if the minimum value of each row is found on the diagonal. The minimum value can occur more ...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


Using R^2 results to optimize number of neurons in hidden layer
I am trying to find the optimal number of neurons in a hidden layer following <https://www.mathworks.com/matlabcentral/profile/a...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Risposto
Setting a title for a legend
If you limit yourself to one output from the legend command, then the title is positioned correctly...as you noted in your origi...

oltre 7 anni fa | 2

Risposto
Can calculate AAPE values for my training data, validation data and testing data from my trained network as part of the process, like calculation of performance?
If you train a network as follows, [net, tr, y, e] = train(net,x,t) then the tr.trainInd, tr.valInd, and tr.testInd fiel...

oltre 7 anni fa | 0

Risposto
How to Use Neural Network After Deployment?
I have added some comments to an example in the <https://www.mathworks.com/help/nnet/ref/sim.html sim> documentation which does ...

oltre 7 anni fa | 1

Risposto
CIELAB values from TIFF image
Here is what I used on a 16-bit CIELab TIFF file based on the 16-bit ICCLAB documentation <https://www.mathworks.com/help/matlab...

oltre 7 anni fa | 1

Domanda


How to display coordinates as rectangle is drawn over an image?
In a GUI, I have an image and the user selects a rectangle using getrect that is later used to crop the image. As the user is s...

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


Fake colorbar for image
I would like to be able to show an image like the example below, but instead make a fake *color scale that is not related to the...

quasi 8 anni fa | 2 risposte | 0

2

risposte

Domanda


What illuminant and observer does Matlab assume when it reads in Lab values from tiff file?
Outside of Matlab, I made a tiff file with CIE Lab values. The software I used to make the tiff file assumes D50 for the illumin...

quasi 8 anni fa | 0 risposte | 0

0

risposte

Domanda


Which version of sRGB is Matlab using?
I am trying to use a consistent version of sRGB in Matlab, and was confused by something in the documentation. The documentation...

quasi 8 anni fa | 0 risposte | 0

0

risposte

Risposto
How to tell if a tif file contains an embedded ICC profile?
Yes, using imfinfo as follows. fileData = 'corn.tif'; % Example matlab file that doesn't have an ICC profile embedded a ...

quasi 8 anni fa | 0

| accettato

Domanda


How to tell if a tif file contains an embedded ICC profile?
I am asking and answering the following question in case it helps someone. Is it possible to use Matlab to check if a tif fil...

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


How to make 2-line labels on a colorbar?
I would like to have my colorbar text labels to each have two lines. For example, the -6 tick in the example below would be labe...

quasi 8 anni fa | 1 risposta | 0

1

risposta

Risposto
Where is the MATLAB Compiler Runtime (MCR) Installer located?
If someone is instead wanting to know where Runtime is installed on their machine, for example to check what version is installe...

quasi 8 anni fa | 0

Domanda


How to save solid-color figure to tif file?
I am trying to save a tif image with a uniform color to see how that color appears in various applications (PhotoShop etc). Belo...

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


How is image downsized when "Image is too big to fit on screen"?
When displaying an image in imshow, I get the error that "Image is too big to fit on screen; displaying at 67%" and I notice Moi...

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Does imshow account for monitor calibration?
I am reading in TIF files and displaying them with imshow (example below). Outside of Matlab, I calibrated my monitor and produc...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Finding index to minimum values in 3D array
I have a 3D matrix, and I would like to find the index to the minimum value along the 3rd dimension. In other words, I would lik...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


Passing a 2D matrix in to a .NET class method which expects a System.Single[] argument
In Matlab I am calling an existing <https://www.mathworks.com/help/matlab/getting-started.html .NET class> which contains method...

circa 8 anni fa | 0 risposte | 0

0

risposte

Risposto
I need a matlab code for color reduction using self-organizing map (SOM) learning
Matlab offers <https://www.mathworks.com/help/nnet/gs/cluster-data-with-a-self-organizing-map.html self organizing map functions...

circa 8 anni fa | 0

Carica altro