Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60178840
ResultHandler.java
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Apr 28, 02:43
Size
1 KB
Mime Type
text/x-java
Expires
Tue, Apr 30, 02:43 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17313429
Attached To
R6269 BIOP Run Macro
ResultHandler.java
View Options
/*-
* #%L
* Fiji's plugin for colocalization analysis.
* %%
* Copyright (C) 2009 - 2017 Fiji developers.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
package
sc.fiji.coloc.results
;
import
net.imglib2.RandomAccessibleInterval
;
import
net.imglib2.type.numeric.RealType
;
import
sc.fiji.coloc.algorithms.Histogram2D
;
/**
* A result handler offers different methods to process results
* of algorithms. Algorithms get passed such a result handler and
* can let the handler process whatever information they like.
*
* @param <T> The source images value type
*/
public
interface
ResultHandler
<
T
extends
RealType
<
T
>>
{
void
handleImage
(
RandomAccessibleInterval
<
T
>
image
,
String
name
);
void
handleHistogram
(
Histogram2D
<
T
>
histogram
,
String
name
);
void
handleWarning
(
Warning
warning
);
void
handleValue
(
String
name
,
String
value
);
void
handleValue
(
String
name
,
double
value
);
void
handleValue
(
String
name
,
double
value
,
int
decimals
);
/**
* The process method should start the processing of the
* previously collected results. E.g. it could show some
* windows or produce a final zip file.
*/
void
process
();
}
Event Timeline
Log In to Comment