Skip to content
Snippets Groups Projects
Commit c7753186 authored by Stéphane  DALLONGEVILLE's avatar Stéphane DALLONGEVILLE
Browse files

small fix

parent 4e862502
No related branches found
No related tags found
No related merge requests found
......@@ -138,15 +138,14 @@ public class WaveletSpotDetectorBlock extends Plugin implements Block
// Perform detection.
ArrayList<DetectionSpot> detectionResult;
detectionResult = waveletCore.computeDetection(true, UDWTScaleArrayList, inputComputationSequence,
detectNegative, computeWATwithROI, force2DWaveletVar.getValue());
try
{
ArrayList<DetectionSpot> detectionResult = waveletCore.computeDetection(true, UDWTScaleArrayList, inputComputationSequence,
detectNegative, computeWATwithROI, force2DWaveletVar.getValue());
// System.out.println( "ROI Mask : " + inputROIForMask.getValue() );
// Filter spot with ROIs.
try
{
if (inputROIForMask.getValue().length != 0)
{
ArrayList<DetectionSpot> detectionResultCopy = new ArrayList<DetectionSpot>(detectionResult);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment