Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
This function selects object(s) in binary N-D array. It can replace Matlab's "bwselect" (minus the interactive mode) which is limited to 2D matrices.
Inputs:
-------
Xin - input N-D array. Required.
conn - connectivity definition, can be either a scalar or connectivity array, with same number of dimensions as the input array. If empty or omitted, conn will be set to scalar 3^ndims(Xin)-1.
I or I1, I2, ... - selected indices (single linear index or series of subscripts for each dimension of the input array.
Outputs:
--------
Xout - Output N-D array (same size as Xin), with only the connected-components objects which overlap the indices set.
Examples for usage can be seen in the "testSuite.m" file. The image above is the result of running the test suite 2D part.
Zitieren als
Ran Shadmi (2026). Select Connected Components in N-D Array (https://de.mathworks.com/matlabcentral/fileexchange/39135-select-connected-components-in-n-d-array), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.0.0.0 (333 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.0.0 |
