webmorphR 0.1.1
- Fixed a bug when cropping
blank()
images with no
names
- Fixed a bug when using
image_func()
with func =
“composite” and the length of the stimuli and composite image are the
same.
webmorphR 0.1.0
- R version requirements decreased from 4.2.0 to 4.1.0
quick_delin()
function changed to delin()
and upgraded to be able to update full templates
delin()
lets you adjust full templates now, but is
still very experimental.
- Split
demo_stim()
into demo_stim()
and
demo_tems()
and removed set argument.
- Changed to
as_stimlist()
from
validate_stimlist()
- The
expand
argument in mask()
works now
and also does contraction with negative values.
rotate()
has a new argument, origin
, that
customises the rotation origin
patch()
now converts pixel colours to CIE-L*ab values
before taking the mean or median values, which should create closer
visual matches than the old RGB method. Also changed from taking x and y
max and min values to width, height, x_off and y_off (like
crop()
).
- Prepared for CRAN
webmorphR 0.0.2.9003
- Changed
patch()
function to return a vector of hex
colours for a stimlist
- Removed
patch
argument from crop()
,
rotate()
, to_size()
and pad()
;
use patch()
to generate values for the fill
argument instead.
- Various code optimisations and bug fixes.
- Made most of the helper functions internal; I don’t think anyone
else uses these.
- Changed name of
image_comp()
to
compare()
- Changed name of
setnames()
to
rename_stim()
align()
now takes a stim or stimlist as
ref_img
, in addition to the index or name of an item in
stimuli.
- New
centroid()
function for finding the mean x and y
coordinates of each template in a stimlist.
webmorphR 0.0.2.9002
- Removed
ask
argument from write_stim()
and
added “overwrite” to wm_opts()
for a global overwrite
setting.
- Added
wm_opts_defaults()
function to get all default
option values.
write_stim()
now can get the image format from the
name
argument, if it ends in .jpg, .jpeg, .png, or .gif
(case insensitive). This overrides the format
argument.
- Moved most
demo_stim()
(except “test” and
“tem_examples”) into new webmorphR.stim::load_stim()
functions.
- Minor bug fixes.
webmorphR 0.0.2.9001
- Imports rsvg; needed for
draw_tem()
but called by
magick
- Fixed a bug in
read_stim()
when all lines have the same
length
webmorphR 0.0.2.9000
- moved all python functions to webmorphR.dlib
auto_delin()
is now a wrapper for
fpp_auto_delin()
(for Face++) and
webmorphR.dlib::dlib_auto_delin()
(for
python/dlib/face_recognition delineations).
- Manuals and vignettes updated
webmorphR 0.0.1.9008
- Reduced package dependencies, but now requires R>=4.2.0
- All code and examples use |> pipe
facetrain()
function for training a dlib shape
predictor model (still really experimental)
- Various bug fixes
webmorphR 0.0.1.9007
- Custom masks take lists for the
mask
argument now.
- added
change_lines()
function to update lines in
templates.
- Updated
crop_tem()
to handle stimlists with different
tems.
- Updated
get_point()
to return a long table.
- Added
gglabel()
for ggplot-style annotations.
- Updated some vignettes for new functions.
- Changed how template definitions are stored
webmorphR 0.0.1.9006
- Added python face detection for
auto_delin()
so there
is a local solution
webmorphR 0.0.1.9005
- Changed
label()
to default to
gravity = northwest
and location = +10+10
- Added
metrics()
for calculating facial-metrics.
webmorphR 0.0.1.9004
- Fixed bug in
mask_oval()
when setting bounds manually
that had reversed top and bottom values.
trans()
now returns images in a more sensible
order.
- added ability to rename images to
write_stim()
to_size()
crop argument added.
- Images from
plot()
displayed in the correct aspect
ratio in RMarkdown files by default now.
webmorphR 0.0.1.9003
- demo imagesets removed so
demo_stim()
needs to load
“london”, “smiling”, “composite”, “lisa”, “zoom”, and “rainbow” from
webmorphR.stim using
remotes::install_github("debruine/webmorphR.stim")
image_comp()
to calculate difference between images in
a way that corresponds to morph continuua differences
- crop_pad renamed to
crop_tem()
- frl_features renamed to
features()
- as always, bug fixes too numerous to mention
webmorphR 0.0.1.9002
- Deleted all of the webmorph.org functions that required login
- Added webmorph functions that don’t require login:
avg()
, trans()
, continuum()
,
loop()
webmorphR 0.0.1.9001
- Fixed some minor bugs
- Fixed bug in converting rgb(a) values to hex when all values <
10
- Added ability to set background in
grid_stim()
and
plot()
draw_tem()
takes a background color for bg now
- Added
plot_size()
function to return size of last plot
and a string to paste into Rmd chunks.
webmorphR 0.0.1.0
- Broke all the plotting, but the new
plot()
function is
much better and faster
- Added convenience functions:
pad()
,
draw_tem()
, grid_stim()
,
save_plot()
- Renamed functions
oval_mask
=> mask_oval()
faces
=> demo_stim()
auto_delineate
=> auto_delin()
- Fixed function examples
webmorphR 0.0.0.9011
- Upgraded Face++
auto-delin()
to 106 points from
83.
- Masking for auto-delin faces.
webmorphR 0.0.0.9010
mask()
and oval_mask()
functions
quick_delin()
webmorphR 0.0.0.9009
- Bug fixes for stimuli that have no templates
to_size()
now takes a vector of width and height, so
you can more easily use it with social_media_size()
write_stim()
now lets you change format (png, jpeg, or
gif)
webmorphR 0.0.0.9008
- Cleaned up function names
webmorphR 0.0.0.9007
- Forgot to document all the changes
- Plotting functions
- webmorph.org integration
- Lots of new vignettes
webmorphR 0.0.0.9001
- Cleaned up functions and examples
- Added
align()
function, includes procrustes align
webmorphR 0.0.0.9000
- Added a
NEWS.md
file to track changes to the
package.