Community Profile

photo

Subhadeep Koley


Last seen: Today

MathWorks

232 total contributions since 2019

I am a Software Engineer here at The MathWorks.

My areas of interest are Image Processing, Pattern Recognition, Computer Vision & Graphics, and plotting.

DISCLAIMER: Any advice or opinions here are my own and in no way reflect that of The MathWorks.

Contact

Subhadeep Koley's Badges

  • Knowledgeable Level 4
  • Pro
  • Revival Level 3
  • 3 Month Streak
  • Commenter
  • Promoter
  • Solver
  • First Answer

View details...

Contributions in
View by

Answered
How to import a .MAP OMNIC picta file into matlab
As, .MAP is not a standard file format. It is difficult to provide exact solution. However, if the .MAP file is a binary file,...

2 días ago | 0

Answered
Displaying Multispectral Image in MATLAB
You can not use imshow(_) or imagesc(_) to display Multi-plane images having more than 3 channels. You can use sliceViewer(_) t...

4 días ago | 1

| accepted

Answered
Combining hyperspectral image bands R, G, B and NIR
% Read the TIF file cube = imread('yourFile.tif'); % cube is your 8 band TIF file % Extract R, G, B, and NIR band according ...

8 días ago | 0

Answered
Read and Extract channel data from Hyperspectral images
You can use the hypercube(__) function to read and explore hyperspectral images. % Read the hyperspectral image (specify your i...

8 días ago | 0

Answered
Stacking indexed images and view the resulting volume
This code snippet might help. A = imread('image2.png'); B = imread('image3.png'); C = imread('image4.png'); [D, map] = rgb...

8 días ago | 0

Answered
I have multispectral image of [ 8225,8850,6]. How to read image and i need to seperate bands for analysis?
For visualization of individual pixel spectra / hyperspectral band image you can use the interactive hyperspetralViewer App. e.g...

8 días ago | 0

Answered
How can I combine three hyperspectral bands into an "RGB" image?
You can use the hypercube(__) function to read your ENVI file (.dat and .hdr file pair), and also the colorize(__) method will h...

16 días ago | 0

Answered
How to create RGB image with 3 bands from hyperspectral image?
You can use the hypercube(__) function to read Hyperion EO-1 L1R files and also the colorize(__) method will help you to estimat...

16 días ago | 0

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

alrededor de 1 mes ago | 0

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

3 meses ago | 1

| accepted

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

4 meses ago | 0

| accepted

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

4 meses ago | 2

| accepted

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

4 meses ago | 0

| accepted

Answered
dn2reflectance issues (need to radiometrically correct imagery)
dn2reflectance(__) would work fine as long as the metadata of you multispectral image contains the reflectance gain values. Belo...

4 meses ago | 0

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

4 meses ago | 0

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

4 meses ago | 0

Answered
How to a='10101111' convert array b=[1,0,1,0,1,1,1,1]
charArray = '10101111'; newCharArray = double((charArray == '1'));

4 meses ago | 1

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

4 meses ago | 0

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

4 meses ago | 1

| accepted

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

4 meses ago | 0

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

4 meses ago | 1

| accepted

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

4 meses ago | 0

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

4 meses ago | 0

| accepted

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

5 meses ago | 1

| accepted

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

5 meses ago | 0

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

5 meses ago | 0

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

5 meses ago | 1

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

5 meses ago | 0

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

5 meses ago | 0

| accepted

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

5 meses ago | 0

| accepted

Load more