This subject is discussed under indexing in MATLAB. Basic script, Img (Img=0) = 1 (All zero intensities changed to one), or can use Img>200, depending on the aforementioned tech. used (one can be replaced by a range of numbers).
You can simply do
img(img==0) = 1
img(img>200) = a % a being a value
img(some condition) take all value where the condition is True.
You can type these commands:
img(img>200) = a
img(some condition)
If by indexing you mean the coordinates, then the "find " will list the indices of the pixel intensity of a particular value .
Eg: Ids=find(img
This is a very interesting question. In addition to the helpful answers already given, there is a bit more to add.
A good discussion on logical indexing from a Matlab perspective is given in
http://blogs.mathworks.com/loren/2013/02/20/logical-indexing-multiple-conditions/
especially in
http://blogs.mathworks.com/steve/2008/02/25/neighbor-indexing-2/
A detailed example of logical indexing is given in a eye analysis system is given in
https://www.researchgate.net/profile/Edmundas_Zavadskas/publication/257392355_Student_progress_assessment_with_the_help_of_an_intelligent_pupil_analysis_system/links/54b13a800cf28ebe92dff766.pdf
See Algorithm 1.1, starting on page 67.
Article Student progress assessment with the help of an intelligent ...
Combination of morphometric and colorimetric has been applied for feature extraction in detection algorithm. In noisy background, this CV technique facing wrong identification results as well as...
07 August 2018 7,773 7 View
Filtering dataset quality is very important prior to segmentation analysis. A single channel of an image is applied before convolve it with the Laplacian kernel.
31 December 2017 9,956 0 View
This is specific to the face recognition in unconstrained environment, generalization capability of the face recognition systems with large training datasets and generation of additional synthetic...
11 December 2017 1,090 2 View
The same strel is apply for dilation and erosion operation in morphological operator.
11 December 2017 661 0 View
It was reported as a basic procedure in the software eCognition for objectoriented image analysis (Delphi2 Creative Technologies, Munich).
03 April 2017 3,385 0 View
It is more realistic to model pixels in an images with some degree or type of correlation, because due to the point spread function and the intensity of a pixel may contain info from its...
03 April 2017 2,298 0 View
If a part of the energy that an electron carries is transferred to the specimen, several processes might occur leading to the generation of the above signals.
31 December 2016 5,725 0 View
To understand basic of various spectroscopy techniques, type of detector of electron with characteristic kinetic energy is important to be explained.
11 December 2016 447 0 View
Is there any formula or specific program?
11 December 2016 642 6 View
According to nhbs, actinic or mercury vapour electrics can be applied since it is incorporated and supported by 240V (mains powered) or 12V (battery powered) control boxes.
01 February 2015 4,633 10 View
I would like to understand potential safety concerns while handling SEB in the lab. Especially while working in animal house facility. Would like to know precautions for handling. Sigma MSDS...
07 August 2024 6,034 3 View
During low-temperature testing, new diffraction peaks that appear could be indicative of several phenomena. In one of our tests, we observed notable new peaks around 40° and 45° in a specific...
06 August 2024 726 3 View
Is the peer-reviewed publication "MedieKultur: Journal of Media and Communication Research" (ISSN Online: 1901-9726, ISSN Print: 0900-9671) a legitimate and credible scholarly journal in the field...
01 August 2024 629 3 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View
Some Staphylococcus aureus strains Inhibit the growth of Mycobacteria in Mueller Hinton Agar medium containing 10% OADC. Do some Staphylococcus aureus strains have in vitro antimycobacterial activity?
29 July 2024 10,023 2 View
Please, what is the memory consumption of the Matlab function quad tree decomposition procedure [S = qtdecomp(I)] with respect to the input set I?
27 July 2024 5,455 2 View
Looking for paper collaboration writers: Collaboration Model 1: 1.1 Based on the chosen topic, complete the paper writing, select an SCI or SSCI Q1 journal, submit using my QRCID, and complete...
27 July 2024 8,965 1 View
all math can be traversed by code? all math can be translate to code?
26 July 2024 9,530 0 View
Hello, I am a research scholar currently working on a project involving image segmentation, and I am interested in using differential evolution for this purpose . I would greatly appreciate it if...
25 July 2024 9,926 1 View
Hello!!! I want to implement the Swerling characteristics functions (CF) directly in MATLAB without using its Fourier integral pairs...the Swerling CFs are actually Laplace Transform of the signal...
23 July 2024 4,925 1 View