Skip to content

Commit

Permalink
refactor: update _process_image_tiles to return rgbchannels instead o…
Browse files Browse the repository at this point in the history
…f equalized_gray
  • Loading branch information
cpaniaguam committed Nov 12, 2024
1 parent 0f1d72f commit 5548cea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/histogram_equalization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function _process_image_tiles(
end
end

return (equalized_gray=rgb2gray(rgbchannels), gammagreen=rgbchannels[:, :, 2])
return rgbchannels
end

"""
Expand Down Expand Up @@ -201,7 +201,6 @@ function conditional_histeq(
entropy_threshold,
white_fraction_threshold,
)

return rgbchannels_equalized
end

Expand Down

0 comments on commit 5548cea

Please sign in to comment.