Skip to content

Unexpected hist_equal result #307

Answered by jcupitt
Nakilon asked this question in Q&A
Jun 12, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @Nakilon,

I think that's correct -- the normalization step in equalization can join very nearby values together.

I usually scale and falsecolour to visualize region labelleling, for example:

x = Vips::Image.new_from_file("regions.png")
labelled, opts = x.labelregions(segments: TRUE)
vis = (labelled * 256 / opts["segments"]).falsecolour

To make:

nip2 has a button to do this (very handy).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Nakilon
Comment options

Answer selected by Nakilon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants