repo.or.cz
/
wrf-fire-matlab.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge branch 'fixf'
[wrf-fire-matlab.git]
/
detect_ignition
/
new_likelihood
/
get_fire_pixels.m
blob
a21a3a022c63e16f363af9e5fbeb5422004491a9
1
function [ fire_pixels ] = get_fire_pixels( data )
\r
2
%UNTITLED Summary of this function goes here
\r
3
% Detailed explanation goes here
\r
4
\r
5
[m n] = size(data);
\r
6
fire_pixels = zeros(m,n);
\r
7
\r
8
for ii = 1:m
\r
9
for jj = 1:n
\r
10
if data(ii,jj) >= 7
\r
11
fire_pixels(ii,jj) = data(ii,jj);
\r
12
end
\r
13
end
\r
14
end
\r
15
\r
16
%contour(fire_pixels)
\r
17
\r
18
end
\r
19
\r