Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
saveImageParFor.m File Reference

saveImageParFor(fn, imgOut, compressImage) saving image from parfor loop as it is not possible to use save directly inside parfor this function is used in mibDeepController to preprocess images More...

Functions

function  saveImageParFor (fn, imgOut, compressImage, options)
 saveImageParFor(fn, imgOut, compressImage) saving image from parfor loop as it is not possible to use save directly inside parfor this function is used in mibDeepController to preprocess images
 

Detailed Description

saveImageParFor(fn, imgOut, compressImage) saving image from parfor loop as it is not possible to use save directly inside parfor this function is used in mibDeepController to preprocess images

Function Documentation

◆ saveImageParFor()

function saveImageParFor ( fn,
imgOut,
compressImage,
options )

saveImageParFor(fn, imgOut, compressImage) saving image from parfor loop as it is not possible to use save directly inside parfor this function is used in mibDeepController to preprocess images

Parameters
fnstring with the full filename
imgOutmatrix to be saved
optionsa structure with additional parameters .dimOrder - a string with definition of axes, for example yxzct - defines it as [height, width, depth, color, time] .modelType - double, type of the model: 63, 255, 65636, .modelMaterialNames - cell array with classNames .modelMaterialColors - matrix with class colors [colorId, R G B]
compressionImagelogical switch to use of not compression for images

Referenced by mibDeepController.processImages(), mibDeepController.startPrediction2D(), mibDeepController.startPrediction3D(), and mibDeepController.startPredictionBlockedImage().

Here is the caller graph for this function: