crop_first_component#
- radionets.evaluation.blob_detection.crop_first_component(pred, truth, blob_truth)[source]#
Returns the cropped image with the first component of the true image for both prediction and truth.
- Parameters:
- predndarray
predicted source image
- truthndarray
true source image
- blob_truthlist
list with the coordiantes for the first component
- Returns:
- ndarray
cropped images