Réponse apportée
IN remote sensing seven spectral bands are exists in multi spectral images, how to make seven spectral bands of images into one false color image in matlab not in ERDAS
If anyone using R2020a or later, then the colorize function of the hypercube might be useful. The above mentioned fetures come ...

plus de 3 ans il y a | 0

Réponse apportée
hypercube or hyperpca not found. Not even in R2020b .why ?
hypercube, hyperpca and other hyperspectral related functions come under Image Processing Toolbox's Hyperspectral Imaging Librar...

presque 4 ans il y a | 2

| A accepté

Réponse apportée
PDF Latex file using Matlab
Copy and paste your code into a new Live Script. In the Live Editor tab, select Export > Export to LaTeX. MATLAB will also auto...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
How to load AVIRIS datasets
You can use the hypercube(__) function to read AVIRIS image .hdr files. % Read the AVIRIS image (specify your image file name h...

presque 4 ans il y a | 2

| A accepté

Réponse apportée
Save the Figures Getting From ANFIS designer
In the Membership Function Editor, Click on File > Export > To Workspace. Provide the workspace variable name (e.g. yourMemFis) ...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
dn 2 reflectance imagery
dn2reflectance(__) would work fine as long as the metadata of you multispectral image contains the reflectance gain values. Belo...

presque 4 ans il y a | 0

Réponse apportée
Random square sampling for single channel images
Hi, here is one working example. Hope this helps! % Read the original image img = imread('cameraman.tif'); [row, col, ~] = s...

presque 4 ans il y a | 0

Réponse apportée
how to plot matrix
This code snippet extracts out the first image and plots it. Similarly you can extract the other images. % Defining a random ma...

presque 4 ans il y a | 0

Réponse apportée
How to a='10101111' convert array b=[1,0,1,0,1,1,1,1]
charArray = '10101111'; newCharArray = double((charArray == '1'));

presque 4 ans il y a | 1

Réponse apportée
FFT OF A SIGNAL
Hi, there are several lines (e.g. line 39, line 110, etc.) in your code, which start with the word "Appendix". Those lines are n...

presque 4 ans il y a | 0

Réponse apportée
compacting a large number of plot lines
ind = 1; angleValues = 0:20:360; % Modify angle values as per your requirement phiValues = zeros(1, numel(angleValues)); fo...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
Export image from image segmenter and maintain the original image
1) Click on the "Export" button and then click on "Export Images" 2) Save the Final Segmentation mask with the name BW, click o...

presque 4 ans il y a | 0

Réponse apportée
Binary image conversion from real image
Hi, imbinarize expects pixel values of data type double and single to be in the range [0, 1]. We should use the rescale function...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
Finding and Extracting Instances from a Text File
Hi, the below code might help. % Open the file fid = fopen('sample_text.txt'); % Read the file by character str = fread(fi...

presque 4 ans il y a | 0

Réponse apportée
How to reset typing in loop input?
sigma = input('Insert normal stresses[Mpa] and shear stresses[Mpa] of the cauchy stress tensor:'); if isempty(sigma) || ~all(si...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Can i use imerode() function to perform top-hat transform?
You can achieve the same result as returned imtophat function only using imerode and imdilate. % Load the image original = imr...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
PCA on a 3d Matrix
You can use the hyperpca function to achieve the same. % Definenumber of principal components you require numComponents = 10; ...

environ 4 ans il y a | 0

Réponse apportée
Extracting wavelength vector from an .hdr file
You can use the enviinfo function to achieve the same. % Load the HDR information info = enviinfo('yourFile.hdr'); % Extract ...

environ 4 ans il y a | 1

Réponse apportée
Grey Scale -> RGB images from augmentedImageSource
You can use the ColorPreprocessing Name-Value pair of augmentedImageSource to achieve what you want. imageSize = [227 227 3]; ...

environ 4 ans il y a | 1

Réponse apportée
Increasing exposure of an image
A simple approach could be adding a constant value to the entire image. Like below, % Load the image img = imread('photo1.jpg'...

environ 4 ans il y a | 0

Réponse apportée
How to write included function into other
First of all define these two functions, coin_flip and sum_tails function r = coin_flip(N) i = rand(1, N); r = (i > 0.5); en...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
Vingetting an image using loop
Hope this works. colorImg = im2double(imread('kobi.png')); center = size(colorImg)/2+.5; [l,h,~] = size(colorImg); d = zeros...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
I don't know what is wrong with my code when recreating a table
loop indices must be positive integers or logical values. In your code, you're trying to use fraction values as index. Also, you...

environ 4 ans il y a | 0

Réponse apportée
View multiplage tiff in app designer
For multi-page file, imread only reads the first slice in the file (or a specific slice specified by an optional argument). If...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to find the percentage of smaller than X in a specific column in all tables in a cell
clc load CELL.mat % Extract all 5th columns newMat = zeros(360, 1); for idx = 1:length(CELL) newMat(:, idx) = CELL{1}.c...

environ 4 ans il y a | 1

| A accepté

Réponse apportée
ImageDatastore from text file
Try this code snippet. The below code will read images, whose locations are specified in the testingdata.txt file and will also ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
how can n I export file with Excle format, with fprintf
fprintf can only write data to text file. It cannot write data to Excel file. TO write data in Excel format use the function wri...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
color array to grayscale, images
% Read the image img1 = imread('photo1.jpg'); % Convert it to double img1Double = im2double(img1); % Convert from RGB to...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to extract rows based on a particular column values in a matrix?
load 'D.mat'; D_new = D((D(:, 2) >= 1) | (D(:, 2) <= -1), :);

environ 4 ans il y a | 1

| A accepté

Réponse apportée
I have a row vector of dimension 1x300 and want to set its elements to zero without changing its dimension. I am trying to implement it using the example X = zeros(1,3,'uint32') provided in the documentation on zeros in mathworks.
Hi Sushma TV, the below code might help % Define a random vector 'X' for example X = rand(1, 300); % Set all elements of 'X' ...

environ 4 ans il y a | 0

Charger plus