This function is intended for use with medical images of samples taken
with a handheld camera or brightfield microscope. Regardless of
acquisition modality, the background must be bright (i.e. near the pixel
maximum). Using these images and a mask to denote the background area,
this function modifies input images to adjust for inconsistent or
non-uniform lighting in the background. The sample is removed from the
image using the background mask and the gap is filled in. All pixels are
increased to the highest possible pixel value and the sample is
added back in over the calibrated background image.
INPUTS
images - uint8 single image or cell - must be color (will be changed in
version 2)
bkgndMask - logical single image or cell - size must match images
OUTPUTS
images - in-place optimization used to conserve memory on large sets
DIRECTIONS FOR USE
Use the image segmenter app or manual code to segment the background from
the image. Ensure that no part of the sample is included in the
background mask. Use the raw image as the first input and the background
logical mask as the second input. The resultant image will be the
calibrated image. No other outputs are provided.
引用格式
Alexander Moody (2024). cameraImageAdjust (https://www.mathworks.com/matlabcentral/fileexchange/133582-cameraimageadjust), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2023a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |