Skip to content

Commit

Permalink
Added test cases for the stripes operation
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmeigh authored and samtygier-stfc committed Mar 4, 2024
1 parent e82455a commit 86588b9
Showing 1 changed file with 194 additions and 1 deletion.
195 changes: 194 additions & 1 deletion scripts/operations_tests/test_cases.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,5 +250,198 @@
}
}
]
}
},
"Remove dead stripes": {
"params": {
"snr": 3,
"size": 61
},
"source_data": "flower128",
"cases": [
{
"test_name": "default_settings",
"params": {}
},
{
"test_name": "high_sensitivity",
"params": {
"snr": 5
}
},
{
"test_name": "larger_filter_window",
"params": {
"size": 81
}
},
{
"test_name": "low_sensitivity",
"params": {
"snr": 2
}
},
{
"test_name": "smaller_filter_window",
"params": {
"size": 41
}
}
]
},
"Remove all stripes": {
"params": {
"snr": 3,
"la_size": 61,
"sm_size": 21,
"dim": 1
},
"source_data": "flower128",
"cases": [
{
"test_name": "default_settings",
"params": {}
},
{
"test_name": "high_sensitivity",
"params": {
"snr": 5
}
},
{
"test_name": "large_stripes",
"params": {
"la_size": 81
}
},
{
"test_name": "small_to_medium_stripes",
"params": {
"sm_size": 31
}
},
{
"test_name": "2D_median_filter",
"params": {
"dim": 2
}
}
]
},
"Remove large stripes": {
"params": {
"snr": 3,
"la_size": 61
},
"source_data": "flower128",
"cases": [
{
"test_name": "default_settings",
"params": {}
},
{
"test_name": "high_sensitivity",
"params": {
"snr": 5
}
},
{
"test_name": "larger_filter_window",
"params": {
"la_size": 81
}
},
{
"test_name": "low_sensitivity",
"params": {
"snr": 2
}
},
{
"test_name": "smaller_filter_window",
"params": {
"la_size": 41
}
}
]
},
"Remove stripes with filtering": {
"params": {
"sigma": 3,
"size": 21,
"window_dim": 1,
"filtering_dim": 1
},
"source_data": "flower128",
"cases": [
{
"test_name": "default_settings",
"params": {}
},
{
"test_name": "increased_sigma",
"params": {
"sigma": 5
}
},
{
"test_name": "larger_size",
"params": {
"size": 31
}
},
{
"test_name": "2d_window",
"params": {
"window_dim": 2
}
},
{
"test_name": "2d_filtering",
"params": {
"filtering_dim": 2
}
},
{
"test_name": "combined_adjustments",
"params": {
"sigma": 4,
"size": 25,
"window_dim": 2,
"filtering_dim": 2
}
}
]
},
"Remove stripes with sorting and fitting": {
"params": {
"order": 1,
"sigma": 3
},
"source_data": "flower128",
"cases": [
{
"test_name": "default_settings",
"params": {}
},
{
"test_name": "increased_order",
"params": {
"order": 2
}
},
{
"test_name": "increased_sigma",
"params": {
"sigma": 5
}
},
{
"test_name": "combined_adjustments",
"params": {
"order": 2,
"sigma": 5
}
}
]
}
}

0 comments on commit 86588b9

Please sign in to comment.